diff options
Diffstat (limited to 'examples/poweroff.cron')
-rw-r--r-- | examples/poweroff.cron | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/poweroff.cron b/examples/poweroff.cron new file mode 100644 index 0000000..da4c476 --- /dev/null +++ b/examples/poweroff.cron @@ -0,0 +1,11 @@ +# This cron task automatically powers off all clients +# specified at 22:00 local time starting Monday until +# Friday. +# +# You can specify clients to shutdown using several parameters +# like --client-ip, --room-id, or even --center-id. +# +# Usually on debian based distros one can insert cron tasks +# using "crontab -e". + +0 22 * * 1-5 ogcli send poweroff --client-ip 192.168.56.11 |