View previous topic :: View next topic |
Author |
Message |
holdech -
Joined: 23 Nov 2005 Posts: 4
|
Posted: Wed Nov 23, 2005 10:51 pm Post subject: Running a PHP script from DOS |
|
|
Hi all,
I need to be able to run a PHP script from some form of scheduling software (Windows or nncron etc).
This would approximate running it from a DOS prompt.
Can this be done on the Windows platform with Abyss?
Thanks
Chris |
|
Back to top |
|
 |
Axis -
Joined: 29 Sep 2003 Posts: 336
|
Posted: Wed Nov 23, 2005 11:13 pm Post subject: |
|
|
Hi Chris--
There is a window version of cron that I use.
You can create a .bat file and execute most scheduled tasks.
http://www.kalab.com/freeware/cron/cron.htm
Regards,
Axis |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Nov 24, 2005 12:09 pm Post subject: Re: Running a PHP script from DOS |
|
|
holdech,
You can use the Windows Scheduled Tasks tool (in Windows Control Panel). Configure it to run at regular intervals of time the command line:
Code: | C:\path\to\php.exe D:\path\to\script.php |
_________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|