I've successfully been running a crontab script to backup virtual machines on our VMware ESX servers for a while now.
But recently we've upgraded from ESX 3.02 to the new 3.5 version.
I've copied the content of my crontab to the new machines, but now it doesn't seem to work anymore.
What it should do:
I want to run 8 different scripts.
Every saturday where the day of the month is 1,2,3,4,5,6 or 7 I want to run a script at 8:59 and another at 10:59
The following script did that for me, but since I've upgraded, the script seems to run every day!
Is something changed in a new version of crontab?
Is there a solution for this problem?
Code:
# Maandelijkse backups
59 8 1-7 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand1_za1.conf > /dev/null 2>&1
59 10 1-7 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand1_za2.conf > /dev/null 2>&1
59 8 8-14 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand2_za1.conf > /dev/null 2>&1
59 10 8-14 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand2_za2.conf > /dev/null 2>&1
59 8 15-21 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand3_za1.conf > /dev/null 2>&1
59 10 15-21 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand3_za2.conf > /dev/null 2>&1
59 8 22-27 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand4_za1.conf > /dev/null 2>&1
59 10 22-27 * 6 /usr/local/bin/vmbk.pl -C /root/Scripts/maandelijks/maand4_za2.conf > /dev/null 2>&1