开发者

Cron on XAMPP (Mac OS)

开发者 https://www.devze.com 2022-12-12 04:43 出处:网络
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 .

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

精彩评论

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