rerun the preset every router restart

Zaid Abdulla zaid at genieacs.com
Mon Dec 28 16:24:00 EST 2015


On Mon, Dec 28, 2015, at 04:33 PM, ‫mahmoud helmy‬ ‫ wrote:
> *Hi all* *I want to rerun the preset every router restart,* *I do not
> want to use the *refresh command, because it must be periodically ,
> but I want it to be just every restart to router thank you

It's not possible to trigger presets based on events like reboot. Though
this is coming in the next release. What you can do now is queue tasks
through the API (see the wiki) rather than rely on presets. Dan has
implemented a way to get notifications on device events like boot up
(https://github.com/akcoder/genieacs/) so you can use that to trigger an
external script. Search this mailing list for Dan's description on how
to set up his fork.

Zaid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20151229/2ab15cdb/attachment.html>


More information about the Users mailing list