Sorry Sean, my bad example! Thank you for reply but in reality I was looking for an array of triggers like so:
triggers:[
{
trigger: [“MY_COMMAND”,“OTHER_COMMAND”,“ANY_COMMAND”],
fires: [
{fire: “NOTI_A”},
],
…
Sorry Sean, my bad example! Thank you for reply but in reality I was looking for an array of triggers like so:
triggers:[
{
trigger: [“MY_COMMAND”,“OTHER_COMMAND”,“ANY_COMMAND”],
fires: [
{fire: “NOTI_A”},
],
…
Hello, great module, simple and precise.
Just one question (I’m not a JS expert), is there any simple way to trigger the notificaion based on an array of triggers?
eg:
{
module: “MMM-NotificationTrigger”,
config: {
triggers:[
{
trigger: “DOM_OBJECTS_CREATED”,
fires: [
{
fire: [“MY_COMMAND”,“OTHER_COMMAND”,“ANY_COMMAND”],
exec: “sleep 5; ls -l”
},
],
},
]
}
},
Thanks
@Smotx said in after reboot, not start with pm2 but ok with npm start:
npm start
same here. I can’t find any google help