I just reinstalled a Webserver that previously ran under openSuSE11.2.
Everything´s fine, so far, except for my backup jobs in cron, which won´t work at all.
The scripts run fine in console but no matter what I try, I can´t get them to work with cron.
So I tried different commands like
*/30 * * * * /usr/sbin/sntp -s no -r de.pool.ntp.org
which work on other systems. They don´t work on openSuSE11.4, either.
crontab -l shows
# DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.LowYq2 installed on Mon May 9 14:19:46 2011) # (Cronie version 4.2) */30 * * * * /usr/sbin/sntp -s no -r de.pool.ntp.org 0 1 * * * /usr/local/bin/backup/backup.sh 0 1 * * * /usr/local/bin/backup/mysqlbackup.sh 0 0 * * * /usr/local/bin/backup/backupcleaner.sh
ls -lah /usr/local/bin/backup shows
-rwx------ 1 bin root 1.5K Apr 19 19:19 backup.sh -rwx------ 1 bin root 343 Apr 19 19:19 backupcleaner.sh -rwx------ 1 bin root 703 Apr 19 19:19 mysqlbackup.sh -rwxr-xr-x 1 bin root 142 May 9 13:23 test.sh
I just looked up another system which runs on openSuSE 11.3. Same set of scripts, same crontab, working fine. The only difference between 11.3 and 11.4 is the additional package cronie.
Any hints/ideas where to look?