<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div id="sig22609205"><div class="signature">On Mon, Dec 28, 2015, at 04:33 PM, ‫mahmoud helmy‬ ‫ wrote:<br></div>
</div>
<blockquote type="cite"><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px;"><pre><i>Hi all</i><br></pre><pre><i>I want to rerun the preset every router restart,</i><br></pre><pre><i>I do not want to use the </i>refresh command, because it must be periodically , but I want it to be just every restart to router<br></pre><pre>thank you<br></pre></div>
</blockquote><div> </div>
<div>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 (<a href="https://github.com/akcoder/genieacs/">https://github.com/akcoder/genieacs/</a>) 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.<br></div>
<div> </div>
<div>Zaid<br></div>
</body>
</html>