Site icon RDR-IT

CRON scheduled task that does not run

In this article, I will explain how to fix the issue of CRON spots not running on Linux.

I have been facing this problem to set up a backup script for the site.

Execute the command:

crontab -l

This command should return you the list of scheduled tasks.

Depending on the commands, the PATH variable for users with root rights must be changed.

run the command:

crontab -e

Add at the beginning:

PATH=/usr/sbin:/usr/bin:/sbin:/bin

Your crons should be running on time.

Exit mobile version