mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fix error msg when user cli_scheduler does not exists
This commit is contained in:
parent
e64ef5fae3
commit
28aed4d11a
|
@ -66,7 +66,7 @@ include($myincpath."/inc/inc.Scheduler.php");
|
|||
include($myincpath."/inc/inc.ClassController.php");
|
||||
|
||||
if(!($user = $dms->getUserByLogin('cli_scheduler'))) {
|
||||
add_log_line("Execution of task ".$task->getExtension()."::".$task->getTask()." failed because of missing user 'cli_scheduler'. Task has been disabled.", PEAR_LOG_ERR);
|
||||
add_log_line("Execution of tasks failed because of missing user 'cli_scheduler'. Will exit now.", PEAR_LOG_ERR);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user