January 9th, 2000, 08:24 AM
Can anyone tell me how to run a set script which will be a mysql query at a certain time each day??
Thanks in advance
January 9th, 2000, 02:26 PM
use cron to start a perlscript
that uses lwp, let it contact
January 10th, 2000, 04:15 AM
Or you can install PHP as CGI (you can have both installed: apache module and as CGI).
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
// -q parameter tells php not to send http headers
print "Hello world";
Then you could edit your Crontab list:
30 10 * * * /home/user/myscript.php3
Then your script will run every day on 10:30 a.m.
Read "man crontab" for more info.