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
  • 53,316
  • 11
  • 128
  • 128
Vinoth13
  • 297
  • 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
  • 53,316
  • 11
  • 128
  • 128
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
  • 17,576
  • 17
  • 83
  • 103
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
  • 254,755
  • 72
  • 386
  • 405