mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 13:29:42 +02:00
poweroff as root
This commit is contained in:
parent
1c547df90c
commit
567f44f5b5
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ su - $SUDO_USER -c "rm ~/pandora/pandora/workers/xml*"
|
|||
{ crontab -l -u $SUDO_USER; echo '35 * * * * find ~/pandora/tasks/* -type d -empty -mtime +1 -delete'; } | crontab -u $SUDO_USER -
|
||||
|
||||
# Poweroff at 20:00 (green energy)
|
||||
{ crontab -l -u $SUDO_USER; echo '0 20 * * * /sbin/poweroff';} | crontab -u $SUDO_USER -
|
||||
{ crontab -l -u root; echo '0 20 * * * /sbin/poweroff';} | crontab -u root -
|
||||
|
||||
#---------------------
|
||||
# Pandora-box
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue