You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
445 B
TOML
25 lines
445 B
TOML
[[profiles]]
|
|
pattern = "bar"
|
|
regex = false
|
|
|
|
[[profiles.commands]]
|
|
# lifetime = {not_seen = "3m"}
|
|
condition = {not_seen = "5s"}
|
|
|
|
# one off command
|
|
exec = ["sh", "-c", "echo not seen !"]
|
|
|
|
# when exec_end is defined the schedule behaves like a toggle
|
|
# exec_end
|
|
|
|
[[profiles]]
|
|
pattern = "foo"
|
|
regex = false
|
|
|
|
[[profiles.commands]]
|
|
# lifetime = {not_seen = "3m"}
|
|
condition = {not_seen = "5s"}
|
|
|
|
# one off command
|
|
exec = ["sh", "-c", "echo not seen !"]
|