summaryrefslogtreecommitdiffstats
path: root/examples/poweroff.cron
blob: da4c47603b74ac0e4c9006940cd6d0e7b8de54d7 (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 send poweroff --client-ip 192.168.56.11