views:

148

answers:

1

hello,

I am trying to setup cron jobs for a website hosted at hostmonster.com. At the time of configuring timestamp

when I use * * * * *

the script runs perfectly.

but whenever I made changes to these timstamps the script doesnot work

say if I use

30 18 * * *

script doesnot execute. This automated script insert data in the database.

Thnx in advance

+1  A: 

Your server time is probably different from your time. So, 18 might mean 6pm GMT, not 6pm in your timezone.

Mike B
I am setting time according to server time
ankit sachan
Does it work if you replace 18 with *? That should run the script every half hour.
Mike B
yes it works that way
ankit sachan