You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a configuration option which allows to specify a datetime, eg: apply_at.
When OpenWISP applies a configuration, if apply_at is specified and represents a valid future date, enter an infinite loop that is broken only until the current time is equal or higher than apply_at.
If apply_at is not a valid date or is a past date, the apply of the configuration happens normally, with the difference that if the date is invalid we shall log this with the system logger.
Add a configuration option which allows to specify a datetime, eg:
apply_at
.When OpenWISP applies a configuration, if
apply_at
is specified and represents a valid future date, enter an infinite loop that is broken only until the current time is equal or higher thanapply_at
.I think the best place to implement this functionality is in https://github.com/openwisp/openwisp-config/blob/master/openwisp-config/files/sbin/openwisp-update-config.lua, the option shall be passed by the agent which takes it from the configuration.
If
apply_at
is not a valid date or is a past date, the apply of the configuration happens normally, with the difference that if the date is invalid we shall log this with the system logger.Related to openwisp/openwisp-controller#182.
The text was updated successfully, but these errors were encountered: