Re: [php] scheduled task in php
| From: | Kyle Smith | Date: | Thu, 02 Apr 2009 14:12:51 +0000 |
| Subject: | Re: [php] scheduled task in php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290976@lists.php.net to get a copy of this message | ||
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>:-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpPlease 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 WilliamsAll,