preset schedule

varat za zavaratar at gmail.com
Wed Nov 21 00:17:41 EST 2018


Hi.

I want to refresh (send GPV to CPE) the
"InternetGatewayDevice.DeviceInfo.UpTime" every minute for the CPE having
serial number 000000000000.
I did some test adding presets, but it did not go as I intended.

please give me some 'preset' for that?

thank you..

2018년 11월 17일 (토) 오전 3:49, Dan Morphis <dan at milkcarton.com>님이 작성:

> 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
>>
> _______________________________________________
> 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/20181121/5dd546c9/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/20181121/5dd546c9/attachment-0001.png>


More information about the Users mailing list