Cron in Windows
i am u开发者_运维知识库sing Windows and i need to schedule a php task in this. Can anyone help me on this by explaining how to use cron here?
cron is a Unix utility (although you can get a Windows port of it). However, you should try using Windows Scheduler instead.
Use Windows Task Scheduler - http://support.microsoft.com/kb/308569
Or you can try cron in cygwin, see How do you run a crontab in Cygwin on Windows?
Cron is not built into Windows. However, you can use the schtasks command which you can use to add/remove tasks from the schedule.
Also take a look at Windows Task Scheduler.
精彩评论