Skip to main content
Solved

directory watch: run the automation during the night

  • April 12, 2023
  • 1 reply
  • 11 views

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

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.

View original
Did this help you find an answer to your question?

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+49
  • Celebrity
  • 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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings