Functions to repeat something - runEveryX

I know ST has several runEveryXMinutes functions and curious what HE Supports. Specifically I would like to schedule something to occur every X seconds based on a preference in an app to poll an external device via telnet.

I saw @bangali's post that suggests using Schedule but I am curious if there are built in functions that I may be able to leverage instead. There have been many updates since September 2018.

Thanks!

Could probably do runInMillis() and just have it keep rescheduling itself (?).

1 Like

Full list of functions are listed here...

https://docs.hubitat.com/index.php?title=Common_Methods_Object#runInMillis

See list at bottom of the page for those functions that still need documentation.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.