preset schedule
Dan Morphis
dan at milkcarton.com
Fri Nov 16 13:49:27 EST 2018
Your preset is set to trigger *only* on a boot that occurs after an invalid
cron expression occurs.
The every x seconds part means if the value will only be refreshed if the
data genieacs has is older than x seconds.
Presets are documented on the wiki
<https://github.com/genieacs/genieacs-gui/wiki/Presets-Tab>.
On Fri, Nov 16, 2018 at 1:48 AM varat za <zavaratar at gmail.com> wrote:
> Hi
>
> 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". But
> unlike my expectation, the server did not send any requests to the CPE. What's
> the problem?
>
> {
> "_id" : "time",
> "channel" : "",
> "weight" : 0,
> "precondition" :
> "{\"InternetGatewayDevice.DeviceInfo.SerialNumber\":\"000000000000\"}",
> "configurations" : [
> {
> "type" : "age",
> "name" : "InternetGatewayDevice.DeviceInfo.UpTime",
> "age" : ""
> }
> ],
> "schedule" : "36000 * * * * *",
> "events" : {
> "1 BOOT" : true
> }
> }
>
>
>
> *And, please explain about "every [ ] second" next to the "Refresh" item
> in the Configuration for Preset below.*
>
> [image: image.png]
>
> thank you..
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20181116/fededa83/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 17592 bytes
Desc: not available
URL: <http://lists.genieacs.com/pipermail/users/attachments/20181116/fededa83/attachment-0001.png>
More information about the Users
mailing list