Avatar

Level 3

comment makes it a bit difficult to lay out code but it should look something like this

 

triggers: 
    sample-trigger:
       feed: /whisk.system/alarms/alarm
       cron: 0 * * * * 
       trigger_payload: {"name":"Vlad","place":"Transylvania"}
       startDate: xxxx
       stopDate: xxxx

 

you can see https://github.com/AdobeDocs/adobeio-runtime/blob/33d0979a45b9e35e8addaad7e97dfb00f8ea5e12/reference... for some more example on the rules you can use for the alarm package