开发者

Cron on XAMPP (Mac OS)

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜