Cron Job

  • To run cron job on windows server we need wget.exe.

  • Click here to Download

Setup cron job

  1. Install wget.exe

  2. Go to Task Scheduler

  3. Righ click on task area then click on Create New Task

  4. Click on Actions

  5. Click on New…

  6. Click on Browse…> go to wget.exe (directory that installed wget.exe) > click on Open

  7. In 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/parameter

  • parameter (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/parameter

  • parameter (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