ogcli/examples/poweroff.cron

12 lines
382 B
Plaintext

# 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