Set schedule trigger by user

Is there a way to set interval outside of manifest?
I would like to give possibilities to user choose between minute, hour or daily.

modules:
  scheduledTrigger:
    - key: my-scheduled-trigger
      function: '<your-function-key>'
      interval: ${SET_BY_USER}

Is it possible?

I haven’t talked to the team involved in scheduled triggers but from what I recall this isn’t possible.

A solution could be to create a scheduled trigger for each interval and perform a check to see if the user has selected the respective interval type. If not the scheduled trigger finishes without doing anything

2 Likes