Posted by Lammi on 06/05/07 06:21
you mentioned it in the subject of your post - use cron.
http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5
it's possible to call a php script via cron directly or you call a
small shellscript, that open the php, f. e.
#!/bin/sh
# execute php script
# -q => quiet, suppress the php-header
php -q /home/mysql/script.php
Navigation:
[Reply to this message]
|