Schedule at regular intervals in given days of month and time of day

Is it possible to set up the schedule of a scenario in such a way that the scenario is run:

  • only between the 15th and 25th day of every month,
  • on those days, only between 6:00 and 23:59,
  • in those times, every 1 minute?

:footprints: The steps I have taken:
I have been able to set up the first condition using the “Days of the month” option, and the second and third option using the “At regular intervals” option.
However, I have not found a way to combine all three together.

Thank you for any suggestions :slight_smile:

Yes, you can use the Advance Scheduling option.

1 Like

This lets me choose a “Day of the week” (e.g. Monday) and “Month of the year” (e.g. January).
However, I cannot find an option to select a “Day of the month” (e.g. 25th).

I found an workaround using 2 auxiliary scenarios and the Make API.

Solution (tl;dr):
I created two 2 auxiliary scenarios which use HTTP requests to Activate and Deactivate the main scenario using Make API.

Solution (detailed):

  • I set the schedule of the Main scenario to every day from 06:00 to 23:55.

  • Then, I generated my Make API authentication token.

  • Then, I created the first auxiliary scenario ("Start"scenario) which contains only one module - the HTTP module. In this module, I created an “API Key Auth request” which sends an “Activate scenario” command to the Main scenario using API. I scheduled this scenario to run at 05:55 on the 15th day of every month. This activates the Main scenario on the desired day.

  • I also created the second auxiliary scenario (“Stop” scenario) which again contains only the HTTP module. In this module, I created an “API Key Auth request” which sends an “Deactivate scenario” command to the Main scenario using API. I scheduled this scenario to run at 23:59 on the 25th day of every month. This deactivates the Main scenario on the desired day.

1 Like

Hello there @howa003 welcome to the community :wave:

I just want to say awesome work figuring this out and thanks so much for stepping back in and sharing this with the community! Very much appreciated :pray:

1 Like