Hi
I've searched php documentation and can only find a bit of how to create crontab in
and I don't understand the code.
It's
$file="/etc/test.cron"; #contains the cronjobs like
0 * * * * php -f /usr/local/httpd/htdocs/php/mail.php /dev/null 2>&1
system("crontab $file 2>&1"
; #set file into crontab
system("crontab -r 2>&1"
; #register actual crontab
Basically can anyone explain to me how to make a crontab / automatic execution of SQL statements?
I've searched php documentation and can only find a bit of how to create crontab in
and I don't understand the code.
It's
$file="/etc/test.cron"; #contains the cronjobs like
0 * * * * php -f /usr/local/httpd/htdocs/php/mail.php /dev/null 2>&1
system("crontab $file 2>&1"

system("crontab -r 2>&1"

Basically can anyone explain to me how to make a crontab / automatic execution of SQL statements?