|
Posted by shimmyshack on 06/05/07 09:03
On Jun 5, 7:21 am, Lammi <Lorenz.Lammersd...@gmail.com> wrote:
> 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
if you can use cron cos you are on windows, use cronw instead. You can
also register your script as a service and start that every day (the
service could self-stop after its work is done) then you could use a
line such as
"service name" start
in cron
I dont see a point to registering as a service, but I mention it just
for fun!
Navigation:
[Reply to this message]
|