|
Posted by Jerry Stuckle on 06/05/07 09:43
shimmyshack wrote:
> 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!
>
Or easier yet - just set up a scheduled task in the control panel.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|