|
|
|
@ -34,7 +34,7 @@ itte_servers = {
|
|
|
|
|
admins = { demouser = "password", },
|
|
|
|
|
-- Scheduled tasks.
|
|
|
|
|
tasks = {
|
|
|
|
|
task1 = {
|
|
|
|
|
hello = {
|
|
|
|
|
-- Interval at which tasks are performed. Options:
|
|
|
|
|
-- Every 5, 10, 15, 20 or 30 minutes — e.g. "5m" for 5 minutes
|
|
|
|
|
-- hourly, daily, weekly, monthly
|
|
|
|
@ -44,7 +44,7 @@ itte_servers = {
|
|
|
|
|
-- at 00:00.
|
|
|
|
|
time = "12:00",
|
|
|
|
|
-- The name of the handler to run for the task.
|
|
|
|
|
handler = "hello",
|
|
|
|
|
handler = "th_hello",
|
|
|
|
|
-- The channels or users where the task handler will send messages.
|
|
|
|
|
recipients = { "#channel1" },
|
|
|
|
|
},
|
|
|
|
|