Crontab help

oracle

New Member
Messages
430
Reaction score
0
Points
0
I did the following:

-bash$ crontab -e

then added:
10 * * * * /var/www/testCron.php

which will send a mail basically. According to this cron job i shd have recieved a mail every 10 min. Or am I wrong, but I am not getting anything.

Can someone please help on this stuff.

Imoracle
 

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
What you wrote will activate the tab every tenth minute of an hour. To make it happen every ten minutes, you should use this:

*/10 * * * * /var/www/testCron.php

However, if you still haven't receive anything in the past three hours, then there might indeed be another problem with your cron. Unfortunately, I don't know much about them and can't help you any more.
 

oracle

New Member
Messages
430
Reaction score
0
Points
0
Well it indeed worked out this way.

Hell need to learn this cron scheduling smwhere. Know of any good tutorial online??

Thank anyways,
Imoracle
 
Top