OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: flushell on October 02, 2018, 08:14:45 am

Title: Cron job does not run at desired time
Post by: flushell on October 02, 2018, 08:14:45 am
I have 1 cron job (remote backup of config) set for runnig at 05:25 every day. (25 5 * * *).
However, it runs every day at exactly 01:00.
I checked the server time: good
I restarted cron and I restarted the server, both without luck
Strangely, if I set this job to run a few minutes ahead of the current time (eg 15.30 when it's 15.28) it will run at that time exactly.

This instance is running as a VM in ESXi on a server.

Anyone else with this kind of problem? How to troubleshoot this further?

Edit:
Found out that no matter what time you put in: it will always run at 01.00.
According to crontab -l that is... is there a default cron for this job? When I delete it, the job stays.

Still: Strangely, if I set this job to run a few minutes ahead of the current time (eg 15.30 when it's 15.28) it will run at that time exactl, although contab -l shows to run at 01.00...