I've been setting up cron jobs for the first time and have run into a problem.
The following runs every hour at 30 mins past, as it should:
30 * * * * /var/www/log/rotate.sh
But, the following does not run
at 30 mins past 7pm, as it should:
30 19 * * * /var/www/log/rotate.sh
The date command displays the date, time, and timezone correctly. But, no matter what hour min combination I try, the cron job doesn't run. However, it will always run with only a min is specified and the other fields are set to first-last.
Any thoughts on what might be causing this? I've searched around, but haven't found anything useful. I'm probably missing something dumb. A solution would be great, but even just a hint to set me in the right direction of what could be going wrong would be great too.
Thanks in advance.