Not able to run scheduled job from sugarcrm scheduler. sugarcrm on premise 7.7
I am able to run job using php.exe -f cron.php command.
Please help.
Its very urgent
Not able to run scheduled job from sugarcrm scheduler. sugarcrm on premise 7.7
I am able to run job using php.exe -f cron.php command.
Please help.
Its very urgent
Hi Anup Kumar
Is your SugarCRM instance configured in server cron job?
That mean, run as root the following command:
crontab -e
Then add into editor (vi maybe) a line like that:
* * * * * cd <path/to/your/sugarcrm/instance>; php -f cron.php > /dev/null 2>&1
Additionally double check file sugarcrm.log and look for any error regarding cron jobs.
Kind regards
Hi Anup Kumar,
I see that you talk about php.exe ; your server is a windows server ? If yes, do you follow this tutorial : http://support.sugarcrm.com/Knowledge_Base/Schedulers/Introduction_to_Cron_Jobs/#Windows
and also mybe this issue : To Setup Windows Scheduler
Kind regards,
Fred
Hey all,
I would like to add one more note. You would need to make sure the cron is run as the same user as the web server.
Cron can at times generate files (eg: if a repair is executed and Cron is the first process running) and if setup incorrectly, could cause the wrong user to create files.
--
Enrico Simonetti
Sugar veteran (from 2007)
Feel free to reach out for consulting regarding:
All active SugarCRM certifications
Actively working remotely with customers based in APAC and in the United States
Hey all,
I would like to add one more note. You would need to make sure the cron is run as the same user as the web server.
Cron can at times generate files (eg: if a repair is executed and Cron is the first process running) and if setup incorrectly, could cause the wrong user to create files.
--
Enrico Simonetti
Sugar veteran (from 2007)
Feel free to reach out for consulting regarding:
All active SugarCRM certifications
Actively working remotely with customers based in APAC and in the United States