From 5ea6f5e1f89d8d0f966b4bdb7be480650d2c69e8 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 19 Nov 2018 20:40:20 -0700 Subject: [PATCH] Sample event scheduler entry --- misc/config_template.in.hjson | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/misc/config_template.in.hjson b/misc/config_template.in.hjson index ba3e8937..8a474779 100644 --- a/misc/config_template.in.hjson +++ b/misc/config_template.in.hjson @@ -331,7 +331,7 @@ // ] // // - // Set default group(s) new users should automatically be assigned to + // Set default group(s) new users should automatically be assigned to: // defaultGroups : [ // "lamerz" // ] @@ -379,6 +379,25 @@ // } + // + // Use the Event Scheduler to set up arbitrary scheduled events + // using Later style syntax and/or @watch files. + // See docs/event-scheduler.md for more information. + // + eventScheduler: { + events: { + // Example: + // + // sampleEvent: { + // schedule: every 2 hours + // action: @execute:/path/to/some/script.sh + // args: [ + // "--foo", "--bar" + // ] + // } + } + } + statLog: { systemEvents: { // Max login history event records kept. -1 = unlimited