jitu
1
I am able to run cron schedule by rate like 2 mins and cron(* * * * * *)
But cron is not running for cron(49 11 * * ? *)
Here is my yml
pick:
handler: src/api/agenda/index.pick
events:
- schedule:
enabled: true
name: jobpick
description: ‘pick’
rate: cron(30 4 * * ? *)
Looks like you have all the right elements, but since you’re code isn’t displayed with indentation, can’t tell if you have a yml formatting problem.
add ``` before and after your config code so it preserves formatting.
example:
pick:
handler: src/api/agenda/index.pick
events:
- schedule:
enabled: true
name: jobpick
description: ‘pick’
rate: cron(30 4 * * ? *)
jitu
3
pickDailyPatientForDrugTest:
handler: src/api/agenda/index.pickPatientForTesting
events:
- schedule:
enabled: true
name: jobPickDailyPatientForDrugTest
description: 'Daily job called to pick patient for a drug test'
rate: cron(30 4 * * ? *)