I've hit a very odd problem, which appears to be cron, and have no idea what the cause is, or for that matter, how to fix it.
SME 7.5.1, running on an AMD Athlon machine. The server is connected to a network which runs POS using some horrible Windows software called Easitill. This server is purely a backup server, has no internet connection and spends most of its time idle.
It runs three backups. One (very small) one uses Synbak to backup the server setup itself. The other two backup data from a Windows server. There is a daily backup, which runs on a 28 day cycle, plus a monthly backup which will run on a 36 month cycle. The latter two are run by very similar scripts, though the daily has to count and increment the day count to locate where the backup archives should be placed.
The backups are executed by the following template fragment:
30 0 * * * root /root/bin/tarback
15 1 * * * root /root/bin/doback
30 3 1 * * root /root/bin/monthly
The fragment expands quite correctly, and all three events are visible in /etc/crontab.
The problem I have is that the monthly backup is never executed. Looking at the logs, I can find both tarback and doback being executed at the correct time every day, but, on the first of each month, there is no sign that the monthly script is executed at all.
I use very similar template fragments with a number of other SME servers, and have hit no problems with them, so I'm at a loss to explain why the monthly event doesn't work on this machine. I'm hoping I'm missing something obvious, but so far, I'm not seeing it at all. To make matters worse, because the network that this server is part of has no internet connection, I have to physically visit it to find out what is going on...
Anyone got any ideas as to what stupidity I've managed to inflict on myself?
Paul.