Multiple preset event triggers?

Dan Morphis dan at milkcarton.com
Thu Mar 23 18:22:26 EDT 2017


I'd like to have multiple events trigger a provision. I put this in the
events line:
0 BOOTSTRAP, 1 BOOT, 2 PERIODIC, 8 DIAGNOSTICS COMPLETE

The provision script is not executed. If I change the events line to
contain a single event the preset executes the provision script as expected.

There is no precondition or schedule for this preset.

Heres the JSON for my preset out of mongo:
{
    "_id" : "Send_Events",
    "channel" : "",
    "weight" : 0,
    "precondition" : "{}",
    "configurations" : [
        {
            "type" : "provision",
            "name" : "Send_Events"
        }
    ],
    "schedule" : "",
    "events" : {
        "2 PERIODIC" : true,
        "0 BOOTSTRAP" : true,
        "1 BOOT" : true,
        "8 DIAGNOSTICS COMPLETE" : true
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170323/b37594e6/attachment.html>


More information about the Users mailing list