Re: [php] scheduled task in php
| From: | Andrew Williams | Date: | Fri, 03 Apr 2009 11:49:26 +0000 |
| Subject: | Re: [php] scheduled task in php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291014@lists.php.net to get a copy of this message | ||
does anyone knows the the following is not working:
C:\PHP\php.exe D:\DEMO\index.php?action=run&run=1
On Thu, Apr 2, 2009 at 2:06 PM, Virgilio Quilario <
virgilio.quilario@gmail.com> wrote:
> > Please how can you run a timed php script file via window scheduled task.
> or
> > how can u execute a php script on a a time interval for instance every
> > 4minutes
>
> hi Andrew,
>
> first schedule a task, locate and select your php.exe, and schedule it
> to run daily for the moment.
> after creating it, you will see it listed on the window.
> right click on it, and select properties.
> on your Run box, add your script next to php.exe. ie
> c:\path\to\php.exe myscript.php
> click on schedule, click on advanced button, check on repeat task, put
> 4 on every box, and finally click on ok, then apply button.
>
> that's it.
>
> cheers,
> virgil
> http://www.jampmark.com
>
--
Best Wishes
Andrew Williams