• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ideas for replacement of datetime protocol
#4
I agree to @diman87. And as the cron property of the rule is an array you would be able to configure more than one cron schedule. I just don't know what would happen if the schedules would overlap or if you configured multiple schedules with the same period. Maybe there should be a validation for that.

But the cron job should consider the current timezone as well. For timezone I think it would be much easier if you could either rely on the system time as usually the host is using ntp or if you could set the timezone in the settings area by setting a property "timezone" with the abbreviation value e.g. shown here: https://en.wikipedia.org/wiki/List_of_ti...reviations.
 
Reply
  


Messages In This Thread
RE: Ideas for replacement of datetime protocol - by Tobias - 03-06-2016, 05:11 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  program protocol missing in rewrite Niek 1 787 10-07-2017, 08:55 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)