vTigerCRM 7 - Scheduler isn't running any cron jobs unless manually triggered

╄→гoц情女王★ 提交于 2020-01-04 21:36:07

问题


I'm running vTiger 7.0 and I noticed on the first of the month, none of my invoices were created. I then took a look at the Scheduler and noticed that the "Last scan started" and "Last scan ended" fields show that none of the cron jobs had fired in days. The cron jobs are scheduled to fire in 15 minute intervals, with the exception of "RecurringInvoice" which runs every 12 hours.

If I visit /myvtigerinstall/vtigercron.php, the cron jobs will all fire but nobody wants to have to manually run cron jobs!

Has anyone had a similar issue before with vTiger? I'm not exactly sure how to troubleshoot this error effectively and efficiently. I've checked permissions and they all seem to be in order.


回答1:


If you've installed vTiger CRM on a dedicated server, you maybe have added a line in linux crontab so that the cron executes...

For instance :

 * * * * * sh home/vtiger/vtigerCRM5/apache/htdocs/vtigerCRM/cron/vtigercron.sh

If the cron doesn't launch automatically, it means it's not launched by the cron bot...




回答2:


Vtiger minimum cron frequency is 15 minutes. Add the following line in crontab

*/15 * * * * wget -O- --spider "http://vtigercrmurl/vtigercron.php" >/dev/null 2>&1

or use the following free services

https://www.easycron.com/

https://cron-job.org



来源:https://stackoverflow.com/questions/51292976/vtigercrm-7-scheduler-isnt-running-any-cron-jobs-unless-manually-triggered

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!