Re: [php] scheduled task in php
| From: | George Larson | Date: | Thu, 02 Apr 2009 23:33:26 +0000 |
| Subject: | Re: [php] scheduled task in php | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291000@lists.php.net to get a copy of this message | ||
On Thu, Apr 2, 2009 at 10:12 AM, Kyle Smith <kyle.smith@inforonics.com>wrote:
> There's no need for third party software, windows has a scheduled task
> system.
>
> Make a scheduled task and for the application select the php executable
> (Maybe C:\PHP\bin\php.exe, or some such.). Once the wizard is complete
> select the checkbox that says "Open the task when I click Finish". Now
> place the full path of your script after the executable in the field
> provided so it looks something like:
>
> "C:\PHP\php.exe" "C:\Documents and Settings\Kyle\My
> Documents\scripts\MyCronPHPScript.php"
>
> HTH,
> Kyle
>
> *Kyle Smith*
> UNIX/Linux Systems Administrator
> Inforonics, LLC
>
>
>
> Jan G.B. wrote:
>
>> Or even with CRONw if "via window" is an indicator for the evil OS.
>> http://cronw.sourceforge.net/
>> (I personally didn't test this software)
>> bye
>>
>> 2009/4/2 Michel OLIVIER <michel.olivier@mc2i.fr>:
>>
>>
>>> hi,
>>> with a cron and wget?
>>>
>>> 2009/4/2 Andrew Williams <andrew4williams@gmail.com>:
>>>
>>>
>>>> All,
>>>>
>>>> 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
>>>>
>>>> --
>>>> Best Wishes
>>>> Andrew Williams
>>>>
>>>>
>>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>>
>>
>>
>>
>
I have found Window's task scheduler utterly insufficient. I understand,
and agree with, your desire to keep things native but I have thrown that
away for my scheduled events. I swear bt VisualCron [
http://www.visualcron.com/].