Cron-style Alarm Trigger | Community
Skip to main content
Level 2
August 28, 2020
Question

Cron-style Alarm Trigger

  • August 28, 2020
  • 1 reply
  • 1875 views

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
September 7, 2020

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

Level 2
November 5, 2020

Yeah that kind of stinks. We recently had to adjust all of our action CRON triggers for daylight savings. Every time-based trigger shifted an hour ahead. Anything running at 5am, ran at 4am, etc.