Urychamiajac crona standardowo z przegladarki otrzymuje taki oto zapis:
--------------------------------------------------------------------------------------------------------------
Server Time: Thu, 28 Apr 2016 15:37:21 +0200
Execute scheduled task: Antihammer log cleaner (auth_antihammer\logcleaner)
... started 15:37:21. Current memory use 18.6MB.
Fatal error: Class 'auth_antihammer\config' not found in /home/xxxxx/domains/xxxxxxxxxxxxxxxxxxxxx.pl/public_html/auth/antihammer/classes/logcleaner.php on line 59
----------------------------------------------------------------------------------------------------------------
dalej cron sie nie wykonuje (a zadan jest jeszcze sporo)
Dodatkowo w tej59 linii mam takie cos (zapis calej funkcji)
* Executes the task
*
* @return void
*/
public function execute() {
global $DB;
/ 59 linia !!!/ if (!(bool)config::get('autocleanlog')) {
mtrace(get_string('config:autocleanlog:disabled', 'auth_antihammer'));
return;
}
$sql = "DELET FROM {auth_antihammer_log} WHERE datecreated < ?";
return $DB->delete_records($sql, array(time() - (int)config::get('autocleanlog_after')));
}
czy ktos pomoze ?
Dodatkowo dodam, ze wylaczenie wtyczki hammer nic nie pomaga !! ??