cron jobs running several times

cron jobs running several times

Posted by: duud
Posted on: 2006-05-17 08:15:00

Hi. I'm not too familiar with cron jobs, so I'm doing some tests to try to learn the way they work and I've found a problem.

I use this crontab file:

# test
MAILTO=address@domain.net
9,12,37 * * * * /usr/local/bin/php /home/user/domain.net/index.php

If I'm not wrong, that is supposed to run on minutes 9, 12 and 37 every hour... it does run fine and I get emails letting me know the cron job was succesful, however some times the job runs twice instead of just once (I get two emails at the same time letting me know so).

Am I doing anything wrong?

______________
use promo code CHEAPESTHOST when you sign up and get $50 off your yearly plan

Re: cron jobs running several times

Posted by: matttail
Posted on: 2006-05-17 11:49:00

It looks like every thing is correct to me. You're right it should be running on those min. every hour.

I'd contact support and have them see if it's an issue with cron running twice, or the E-mail system copying it out for some reason.



--Matttail
art.googlies.net - personal website

Tags: cron jobscron jobaddress domainemailsphpfile testpromo codecrontabusrtestsrunning