I have some cron jobs that are making sure the VPN is being established. Everything works fine and I've been checking this from time to time. However, in the morning I noticed that the VPN is down and the cron jobs are not running.
I logged in via SSH checked the cron job logs that I've manually put, but no errors whatsoever and I the last time the log was filled was 20:00h.
-rwxr-xr-x 1 ema ema 17K okt 10 20:00 dnsjob.log -rw-rw-r-- 1 ema ema 17K okt 10 20:00 new_output.log -rwxr-xr-x 1 ema ema 17K okt 10 20:00 vpnjob.log
I also checked if the cron daemon is up and everything seems to be in order.
Somehow, the cronjobs are running after a while and I have no idea why.
Is there any possibility to check what's going on? Is there any kind of "sleep mode" where cron jobs are just paused for no specific reason?
One of the cronjobs (dns update script) is as following:
*/9 * * * * sudo /usr/sbin/ddclient -force 2>&1 >> /home/ema/scripts/crons/dnsjob.log
But everything looks fine inside dnsjob.log and the last input is from 17 October at 20:00..
It seems that when I'm connected to the system via SSH, the crontab works, but once I'm disconnected, it works for a while and finally stops executing anything. I've been trying to find some relevant information in the manuals and logs, but no luck.