Hello
i am trying really hard the last few hours, and cant get a custom job executed, am new to suitecrm
i have done exactly whats said here: http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_6.5/02_Application_Framework/Job_Queue/01_Schedulers/01_Custom_Schedulers/
and as an action i have added just: $GLOBALS[‘log’]->fatal(‘Running: custom_job’);
i am trying to start with the scheduler with just to make it print a log entry,
please can anyone think why it doesnt work?
(i have done million rebuilds and delete/create the job on the scheduler menu)
these are my files exactly:
root@xxx [/home/xxx/public_html]# ls -la ./custom/Extension/modules/Schedulers/Ext/Language/en_us.custom_job.php
-rwxr-xr-x 1 xxx xxx 58 Jun 8 18:43 ./custom/Extension/modules/Schedulers/Ext/Language/en_us.custom_job.php*
root@xxx [/home/xxx/public_html]# cat ./custom/Extension/modules/Schedulers/Ext/Language/en_us.custom_job.php
<?php
$mod_strings['LBL_CUSTOM_JOB'] = 'Custom Job';
root@xxx [/home/xxx/public_html]# ls -la ./custom/Extension/modules/Schedulers/Ext/ScheduledTasks/custom_job.php
-rwxr-xr-x 1 xxx xxx 158 Jun 8 19:35 ./custom/Extension/modules/Schedulers/Ext/ScheduledTasks/custom_job.php*
root@xxx [/home/xxx/public_html]# cat ./custom/Extension/modules/Schedulers/Ext/ScheduledTasks/custom_job.php
<?php
array_push($job_strings, 'custom_job');
function custom_job()
{
$GLOBALS['log']->fatal('Running: custom_job');
return true;
}
root@xxx [/home/xxx/public_html]# crontab -u xxx -l
* * * * * cd /home/xxxx/public_html; php -f cron.php > /dev/null 2>&1
The installation is on Cpanel with the latest SuiteCRM installed through Softaculous.
Thanks in advance.