i have to run a simple php file which does mails every three mins, so i got the funda to use the cron job, but i was not getting how to use the cron job, so can any one please give me the command to be written in the cron file.
thanks in advance.
jigar
how to run cron jobs every 3 mins
Moderator: General Moderators
You may want to check out http://www.phpfreaks.com/print.php?cmd= ... &tut_id=28
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/local/bin/php /home/user/crons/cronjob.php
I believe this is the format for three-minute intervals every day.
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/local/bin/php /home/user/crons/cronjob.php
I believe this is the format for three-minute intervals every day.