How to set up cron for windows?

Hits: 425

Please follow the instruction below:-

  • Download the wget.exe file and put it on C:\wamp64 or C:\Program Files (x86)
  • Go to control panel => system & security => Administrative Tools => Task Scheduler
  • Click on Create Task.
  • In General Tab, put the name of the Task.
  • In Triggers Tab, click New to put the time to execute the task.
  • In Action Tab, click New and add wget path in Program/script

and the command “-q -O NUL –user=allan –password=os123 http://localhost/orangescrum-master/cron/dailyUpdateMail” in Add arguments(Optional) tab

NOTE:

Put

user = your windows login user name

Password = Your  windows login password

http://localhost/orangescrum-master = Your orangescrum url

/cron/dailyUpdateMail = your cron funtion name

Example:

These are the cron to setup: –

-q -O NUL –user=John –password=123 http://172.16.1.226/orangescrum/cron/dailyUpdateMail

 

-q -O NUL –user=John –password=123 http://172.16.1.226/orangescrum/cron/email_notification

 

-q -O NUL –user=John–password=123 http://172.16.1.226/orangescrum/cron/dailyupdate_notifications

 

-q -O NUL –user=John –password=123 http://172.16.1.226/orangescrum/cron/weeklyusagedetails

 

-q -O NUL –user=John –password=123 http://172.16.1.226/orangescrum/EmailReply.php

 

Like(0)        Dislike(0)