Re: [php] scheduled task in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>wrote:

>
>
> On Thu, Apr 2, 2009 at 2:06 PM, Virgilio Quilario <
> virgilio.quilario@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux