There was a problem loading the comments.

Cron is not running

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Original Question

or Issue:

No notifications are running currently. Looks to be all users.

 

I believe the service/job is not running.

 

image001.png

Environment:

  • Product - FC on-premise
  • Version - 21.3
  • Platform - Ubuntu
Steps to Reproduce:

 

 

Error or Log Message:  

Defect or

Enhancement Number:

 
Cause:  Cron service was not installed

Resolution or

Workaround:

 

 

  1. Run the following command to install cron.

     


    sudo apt-get install cron

     

  2.  

    Check the status of the cron service using the command.

     


    service cron status

  3. To edit the cron for the user "www-data"

crontab -u www-data -e

 

4. Add the line below on the file. 

 

*/5 * * * * php /var/www/html/src/Scripts/cron.php

 

5. Save the file and exit. 

 

6. To verify the cron.

 

crontab -l -u www-data

 

Please wait for one day for the daily cron to run at midnight.

Notes:   

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© FileCloud