Jelle_Timmer
Basic Pleskian
Hi all!
For a few days now one of my Plesk Onyx 17.5 servers is having issues with executing it's cronjobs.
My application has a job which is running every minute, but since a couple of days it is skipping every 5th minute.
So it runs every minute of every hour every day, except for .00, .05, .10, .15, etc...
Every non-5th minute the task executes without any issues and manual execution doesn't show errors.
The cron log in /var/log shows the job should've been executed, but when i add a logline for every execution (added &>> /var/www/vhosts/*****.*****.eu/cronlog.log to the cron-command) it doesn't show the 5th minutes.
What i noticed about my logs from yesterday is that, when the job did execute in a 5th minute, it was somewhere in the high 50-seconds in stead of somewhere in the first 15 normally...
The contents of /var/spool/cron/USER
MAILTO=""
* * * * * cd /var/www/vhosts/*****.*****.eu/httpdocs; ./crontasks &>> /var/www/vhosts/*****.*****.eu/cronlog.log
Anyone knows what could be wrong? And better, how to get cron into line again?
Server info:
OS: CentOS 7.5.1804
Plesk: Onyx 17.5.3#55
Fully updated
Script is PHP-cli file, running from PHP 7.1
For a few days now one of my Plesk Onyx 17.5 servers is having issues with executing it's cronjobs.
My application has a job which is running every minute, but since a couple of days it is skipping every 5th minute.
So it runs every minute of every hour every day, except for .00, .05, .10, .15, etc...
Every non-5th minute the task executes without any issues and manual execution doesn't show errors.
The cron log in /var/log shows the job should've been executed, but when i add a logline for every execution (added &>> /var/www/vhosts/*****.*****.eu/cronlog.log to the cron-command) it doesn't show the 5th minutes.
What i noticed about my logs from yesterday is that, when the job did execute in a 5th minute, it was somewhere in the high 50-seconds in stead of somewhere in the first 15 normally...
The contents of /var/spool/cron/USER
MAILTO=""
* * * * * cd /var/www/vhosts/*****.*****.eu/httpdocs; ./crontasks &>> /var/www/vhosts/*****.*****.eu/cronlog.log
Anyone knows what could be wrong? And better, how to get cron into line again?
Server info:
OS: CentOS 7.5.1804
Plesk: Onyx 17.5.3#55
Fully updated
Script is PHP-cli file, running from PHP 7.1