Moin,
ich bin gerade auf HC3 umgestiegen und übe mich in der neuen Programmierung. Damals war es einfach per graphischer Szene eine Oder-Schaltung zu schreiben.
Ich habe es jetzt mit LUA versucht.
{
conditions =
{ conditions = { {
isTrigger = false,
operator = "match",
property = "cron",
type = "date",
value = { "*", "*", "*", "*", "1,2,3,4,5", "*" }
}, {
isTrigger = true,
operator = "match",
property = "cron",
type = "date",
value = { "42", "11", "*", "*", "*", "*" }
} },
operator = "all"
},
{
conditions = { {
isTrigger = false,
operator = "match",
property = "cron",
type = "date",
value = { "*", "*", "*", "*", "6,7", "*" }
}, {
isTrigger = true,
operator = "match",
property = "cron",
type = "date",
value = { "44", "11", "*", "*", "*", "*" }
} },
operator = "all"
}
operator = "any"
}
Kann mir jemand helfen, wie ich das umsetzen kann?