1

i am using Windows and i need to schedule a php task in this. Can anyone help me on this by explaining how to use cron here?

John Parker
  • 54,048
  • 11
  • 129
  • 129
Vinoth13
  • 397
  • 3
  • 7
  • 16

3 Answers3

4

cron is a Unix utility (although you can get a Windows port of it). However, you should try using Windows Scheduler instead.

John Parker
  • 54,048
  • 11
  • 129
  • 129
3

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?

Community
  • 1
  • 1
Zitrax
  • 19,036
  • 20
  • 88
  • 110
1

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.

dogbane
  • 266,786
  • 75
  • 396
  • 414