summaryrefslogtreecommitdiffstats
path: root/examples/poweroff.cron
blob: 8e3bed62731f19fc99f3cddcc14df55856e673d1 (plain)
1
2
3
4
5
6
7
8
9
10
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 request poweroff --client-ip 192.168.56.11