Cron Job
To run cron job on windows server we need
wget.exe.Click here to Download
Setup cron job
Install
wget.exeGo to Task Scheduler
Righ click on task area then click on Create New Task
Click on Actions
Click on New…
Click on Browse…> go to
wget.exe(directory that installed wget.exe) > click on OpenIn textbox Add arguments (optional): fill in URL of task, e.g:
/cron/notifyVMWFU/Day3
List of cron job
VMW follow up patient notification (Pv radical cure)
Purpose: Send message notification to VMW’s smart phone about date of follow up.
Type: run everyday.
URL
/cron/notifyVMWFU/parameterparameter (string) – Day3 / Day7 / Day14.
HC follow up patient notification (Pv radical cure)
Purpose: Send message notification to HC’s tablet about follow up.
Type: run everyday.
URL
/cron/notifyHFFU/parameterparameter (string) – Day3 / Day7 / Day14.
Foci reminder notification
Purpose: send message notification to VMW, HC, OD, PHD, CSO.
Type: run everyday.
URL
/cron/remindFoci
Note
if malaria case that not yet do foci investigation in during 5 days, system will produce notification.
Reactive case reminder notification
Purpose: send message notification to HC and VMW.
Type: run everyday.
URL
/cron/remindReactive
Note
if malaria case that not yet do reactive case in during 3 days, system will produce notification.
Hight risk village reminder notification
Purpose: send message notification to HC, OD, PHP, CSO.
Type: run every.
URL
/cron/remindHighRiskVillage
Note
Retrieve positive last 12 months.
Retrieve positive last month.
Calculate STD, AVG.
If Positive last month > STD + AVG => High risk.
Stock out notification
Purpose: send message notification to OD, PHP, CSO
Type: run everyday.
URL
/cron/notifyNonStock