| Article: |
Apache Web-Serving with Mac OS X: Part 3 | |
| Subject: | Automatic PHP tasks | |
| Date: | 2002-10-28 16:50:45 | |
| From: | anonymous2 | |
|
Response to: Automatic PHP tasks
|
||
|
I found a simple solution. Add a scheduled task to your /etc/crontab file and use the curl command to excute any PHP script on your site. Example:
|
||
Showing messages 1 through 1 of 1.




0 0 * * * root curl http://www.yoursite.com/yourscript.php