Want to shedule php on windows? (Like *nix cron)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Want to shedule php on windows? (Like *nix cron)

Post by JAM »

http://www.nncron.ru/
nnCron is an advanced and very powerful scheduler, scripting tool and automation manager. nnCron is very small in size (620k), but its capabilities are truly colossal. Besides possessing the traditional scheduler features (starting programs, displaying reminder messages and opening documents at specified time), nnCron also can: ... (se website for a list of features)
Might be interesting, as cronjobs (sheduling scripts in general) is something often discussed here. Still, developers using the win32 platform, might have issues due to the lack of *nix's cron.
Cruzado_Mainfrm
Forum Contributor
Posts: 346
Joined: Sun Jun 15, 2003 11:22 pm
Location: Miami, FL

Post by Cruzado_Mainfrm »

u rock, thanks a lot for the link!!!!
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

cool, thanks jam :D
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

hehe, good thing i didn't post this then. Just looked up the exact same app and was about to shoot off on it. Indeed, a very nice program for scheduling any windows kid would enjoy :D
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

does anyone have any good examples with using this, or CRON in general?

edit :

found it at

http://www.nncron.ru/nncronlt/help/help.htm

edit again : found another method of doing this :

Start menu... control panels... scheduled tasks
Add scheduled task... browse... select PHP executable
Go to the new task, right click, properties, then change the 'Run' box to, for example

C:\php\php-cli.exe c:\cygwin\var\www\html\fluentqueue\bgcall.php


you can set it to execute at whatever time or day you want.
Post Reply