More accurante message
This commit is contained in:
parent
b4446764f8
commit
0c59d536ba
@ -925,7 +925,8 @@ class Cronjob extends CommonObject
|
||||
$ret=dol_include_once($this->classesname);
|
||||
if ($ret===false || (! class_exists($this->objectname)))
|
||||
{
|
||||
$this->error=$langs->trans('CronCannotLoadClass',$this->classesname,$this->objectname);
|
||||
if ($ret===false) $this->error=$langs->trans('CronCannotLoadClass',$this->classesname,$this->objectname);
|
||||
else $this->error=$langs->trans('CronCannotLoadObject',$this->classesname,$this->objectname);
|
||||
dol_syslog(get_class($this)."::run_jobs ".$this->error, LOG_ERR);
|
||||
$this->lastoutput = $this->error;
|
||||
$this->lastresult = -1;
|
||||
|
||||
@ -74,7 +74,8 @@ CronFrom=From
|
||||
CronType=Job type
|
||||
CronType_method=Call method of a PHP Class
|
||||
CronType_command=Shell command
|
||||
CronCannotLoadClass=Cannot load class %s or object %s
|
||||
CronCannotLoadClass=Cannot load class file %s (to use class %s)
|
||||
CronCannotLoadObject=Class file %s was loaded, but object %s was not found into it
|
||||
UseMenuModuleToolsToAddCronJobs=Go into menu "Home - Admin tools - Scheduled jobs" to see and edit scheduled jobs.
|
||||
JobDisabled=Job disabled
|
||||
MakeLocalDatabaseDumpShort=Local database backup
|
||||
|
||||
Loading…
Reference in New Issue
Block a user