Cron-style Alarm Trigger

keilorblend360

28-08-2020

Hey there, 

I've set up an action I'd like to run at 12:30am EST every night. I've set up my trigger as the following: 

 

wsk trigger create test-t4l \                                                                  
  --feed /whisk.system/alarms/alarm \
  --param cron "30 0 * * *" \
  --param stopDate "2021-10-31T23:59:00.000Z"

 

 

The trigger is created successfully and when I "get" the trigger, it shows the correct cron schedule. However, I checked the activation logs this morning and the action did not run until 4:30am.

Am I missing a timezone difference or something? I noticed the datetime for when my action is saved is +4 hours compared to EST. 

Accepted Solutions (0)

Answers (1)

Answers (1)

duypnguyen

Employee

07-09-2020

Hi @keilorblend360 , the alarms are scheduled in UTC timezone. I hope it should have been fired at the correct time then? Otherwise, please let us know.