phpcronschedulervtigervtigercrm

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


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.


Solution

  • 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...