see what i mean by the title.
when i put the following code in my cronjob via the command cronjob -e (from my user), it get it and everything works great.
Code:
SHELL=/bin/bash
MAILTO=hanan
16 15 * * * /bin/mount /dev/sdb2 && /usr/bin/rsync -r -t -v --progress --delete --size-only /home/hanan/Programs /home/hanan/Backup/Programs && /bin/umount /dev/sdb2
the thing to point your eye on is the time.
and when i am trying to put another time in it like that:
Code:
SHELL=/bin/bash
MAILTO=hanan
16 57 * * * /bin/mount /dev/sdb2 && /usr/bin/rsync -r -t -v --progress --delete --size-only /home/hanan/Programs /home/hanan/Backup/Programs && /bin/umount /dev/sdb2
it won't let me to save that, and give me the following error:
Code:
crontab: installing new crontab
"/tmp/crontab.cxyC4J/crontab":2: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit? (y/n)
what do you think ha ?
Thanks.
