<div dir="ltr">Your preset is set to trigger *only* on a boot that occurs after an invalid cron expression occurs.<div><br></div><div>The every x seconds part means if the value will only be refreshed if the data genieacs has is older than x seconds.</div><div><br></div><div>Presets are <a href="https://github.com/genieacs/genieacs-gui/wiki/Presets-Tab">documented on the wiki</a>.</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 16, 2018 at 1:48 AM varat za <<a href="mailto:zavaratar@gmail.com">zavaratar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi <div><br></div><div><span style="color:rgb(33,33,33);font-family:"Apple SD Gothic Neo",arial,sans-serif;font-size:16px;white-space:pre-wrap">I added a preset as below to receive "InternetGatewayDevice.DeviceInfo.UpTime" information every 1 minute after receiving "1 BOOT" event from device with serial number "000000000000".</span> <span style="color:rgb(33,33,33);font-family:"Apple SD Gothic Neo",arial,sans-serif;font-size:16px;white-space:pre-wrap">But unlike my expectation, the server did not send any requests to the CPE. </span><font color="#212121" face="Apple SD Gothic Neo, arial, sans-serif"><span style="font-size:16px;white-space:pre-wrap">What's the problem?</span></font></div><div><br></div><div><div>{<br></div><div><div> "_id" : "time",</div><div> "channel" : "",</div><div> "weight" : 0,</div><div> "precondition" : "{\"InternetGatewayDevice.DeviceInfo.SerialNumber\":\"000000000000\"}",</div><div> "configurations" : [ </div><div> {</div><div> "type" : "age",</div><div> "name" : "InternetGatewayDevice.DeviceInfo.UpTime",</div><div> "age" : ""</div><div> }</div><div> ],</div><div> "schedule" : "36000 * * * * *",</div><div> "events" : {</div><div> "1 BOOT" : true</div><div> }</div><div>}</div></div></div><div><br></div><div><br></div><div><b>And, please explain about "every [ ] second" next to the "Refresh" item in the Configuration for Preset below.<br></b></div><div><b><br></b></div><div><div><img src="cid:ii_jojvx61j0" alt="image.png" width="529" height="159"><br></div></div><div><br></div><div>thank you..</div><div><br></div></div></div></div></div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</blockquote></div>