Re: [php] scheduled task in php
| From: | Andrew Williams | Date: | Thu, 02 Apr 2009 21:35:59 +0000 |
| Subject: | Re: [php] scheduled task in php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290987@lists.php.net to get a copy of this message | ||
I want to created a window schedule a task that will run every 2 minutes and
run my php script(www.domain.com/script.php). But I need to know how to
create a php.exe that I can select as a window schedule a task so that the
php.exe file can execute www.domain.com/script.php at a time interval.
Solution please
On Thu, Apr 2, 2009 at 4:58 PM, Andrew Williams
<andrew4williams@gmail.com>wrote:
>
>
> 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
>
>
>
--
Best Wishes
Andrew Williams