I got this funny problem. I have an entry in the in cron like this
50 15 * * * /pmecs/log/lsmon/techsupportscript.sh 2>/pmecs/log/lsmon/cronerror.log
Now, from what i know, this is correct syntax. This script is supposed to run at 15:50 everyday. But it doesn't. I checked the date,timezone etc, everything is fine.. I change it to
* * * * * /pmecs/log/lsmon/techsupportscript.sh 2>/pmecs/log/lsmon/cronerror.log
i.e run every minute, it runs perfectly.. Can anyone give any suggestions as to how do i find out what is going wrong here?
crontab -e) or in the system's crontab (/etc/cron.d/something) ? The format is different than the one you use in the second case. – Raphink Jan 8 '10 at 10:57