Cron is not running
Original Question or Issue:
No notifications are running currently.
I believe the service/job is not running.
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:
- Run the following command to install cron.
sudo apt-get install cron -
Check the status of the cron service using the command.
service cron status
-
To edit the cron for the user "www-data"
crontab -u www-data -e
- Add the line below on the file.
*/5 * * * * PHP /var/www/html/src/Scripts/cron/php - Save the file and exit.
-
To verify the cron.
crontab -l -u www-data
Please wait for one day for the daily cron to run at midnight.Notes: