On Thu, 2017-03-23 at 08:51 -0800, Dan Morphis wrote: > Is there anyway to send the event that caused a preset to execute to > the provisioning script it executes? I can obviously use the args > parameter, but I'd like it to be automated. Like some > environment/context variable with the event list.
The parameters Events.* (e.g. Events.1_BOOT) give you the event time. Compare the event timestamp against Date.now() to know if the event is from the current session. -- Zaid Abdulla <[email protected]> _______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
