Sample event scheduler entry

This commit is contained in:
Bryan Ashby 2018-11-19 20:40:20 -07:00
parent df82868ddf
commit 5ea6f5e1f8
1 changed files with 20 additions and 1 deletions

View File

@ -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 : [ // defaultGroups : [
// "lamerz" // "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: { statLog: {
systemEvents: { systemEvents: {
// Max login history event records kept. -1 = unlimited // Max login history event records kept. -1 = unlimited