View Full Version : How do i set a cronjob to run a php file every min?
romanticyao
Fri 23rd Jul '04, 7:41am
if i have a file named myfile.php, how do i setup a cronjob to run it every min? Can someone give an example?
Raz Meister
Fri 23rd Jul '04, 7:36pm
* * * * * /path/to/myfile.php
should do it. but you really should read the crontab manual.
gigahost
Sat 24th Jul '04, 3:56am
Hi!
you can using:
* * * * * php -q /path/to/myfile.php (using for cronjob in cpanel)
or: * * * * * /usr/bin/php /path/to/myfile.php
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.