Skip to content
English
  • There are no suggestions because the search field is empty.

Cron is not running

Original Question or Issue:

No notifications are running currently.

I believe the service/job is not running.

image001.png


Environment:

  • Product - FileCloud Server
  • 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: