Skip to main content
Solved

directory watch: run the automation during the night

  • April 12, 2023
  • 1 reply
  • 18 views

vki
Contributor
Forum|alt.badge.img+7
  • Contributor
  • 64 replies

I would like my automation to watch a directory. If there's a update, then the rest of the automation runs, but only during the night.

I could use a directory watch trigger to run the automation immediately after a change, or use the schedule-trigger to run the automation during the night, but how can I combine those triggers?

Thanks, Vera

Best answer by redgeographics

I think you should use two automations. The first one on a schedule that then runs a workspace that uses a Rest API call to enable/disable the second automation, which is the one with the directory watch.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • Best Answer
  • April 12, 2023

I think you should use two automations. The first one on a schedule that then runs a workspace that uses a Rest API call to enable/disable the second automation, which is the one with the directory watch.