I have installed XAMPP server on my Mac OS, how to setup a cron job on it?
My require开发者_Go百科ment is that i want to call a php script at regular intervals .
Thanks
there is a good article here how to setup cron job on Mac OS X
you would have to edit a textfile(crontabtaskfile)and add for example
0 */1 * * * php path/to/yourphp.php
this would give you a task running every hour (1:00, 2:00) .
and use crontab crontabtaskfile
Cronnix http://code.google.com/p/cronnix/ or the command line for editing cron tabs.
精彩评论