Make a quick vote 🗳 ️How do you refer to SuiteCRM extensions: add-ons or plug-ins? Click here to have your say 👈

Cron Job - Scheduler is not working

Hi, so I am trying to narrow down my problems. When we first install the package, we read this:

To Setup Crontab
In order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u {user}
… and add the following line to the crontab file:

          • cd /home/{user}/public_html/crm; php -f cron.php > /dev/null 2>&1 
            

You should do this only after the installation is concluded.

I have asked the server person to take care of it. Where can I find this file to double-check if, in fact, it is there?
Do I need to put those stars?

I still have no cron job running.

Thank you.

Can you please tell us more about your system?

Which SuiteCRM version, which OS, etc?

Is it your own server, or shared hosting?

You can list the content of the sytem-wide crontab with


crontab -l

And an individual user’s crontab with


crontab -l -u username

yes, the stars are necessary (basically they execute the cron.php each minute - the suite scheduler controls subsequently which jobs actually have to be executed).

To verify if they work: create a workflow that is being executed by the scheduler, or go to the admin panel -> Scheduler and look for the history of an active job.