Charmed Quark Systems, Ltd. - Support Forums and Community
What would the proper trigger to be for a time or a X min before sundown? - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: CQC Support (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=9)
+--- Thread: What would the proper trigger to be for a time or a X min before sundown? (/showthread.php?tid=10764)



What would the proper trigger to be for a time or a X min before sundown? - ghurty - 01-10-2019

With the Actions, I can set for something to check if it before sunrise or for example a set time. So I can easily write IF its sunday AND its an hour before sunrise then do X. But what would the proper trigger for that be? And is it possible to have the same trigger for two sets of time? For example, I want one action to be an hour before sunrise on Sunday and at 2PM on a Tuesday? Or is it just better to keep it on two separate triggers?

Thank you


RE: What would the proper trigger to be for a time or a X min before sundown? - Dean Roddey - 01-10-2019

For that stuff you want to do scheduled events, not triggered events, I would think. Are you wanting to just do something at those times, or are you only wanting to respond to some trigger on those times?

In terms of the same action, if you have something that's non-trivial enough that you don't want to replicate it, make it a Global Action, then you can invoke that from any other action.

https://www.charmedquark.com/Web2/CQCDocs/CQCDocs.html?topic=/Tools/AdminIntf/Customize&page=/GlobalActions

I just realized that global actions aren't really called out in the higher level help content. I'll deal with that.