mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
auto poweroff
This commit is contained in:
parent
3845113484
commit
43792ee16b
1 changed files with 3 additions and 0 deletions
|
@ -143,6 +143,9 @@ rm /pandora/pandora/workers/virustotal.*
|
|||
{ crontab -l -u $SUDO_USER; echo '30 * * * * find ~/pandora/tasks/* -type f -mtime +1 -delete '; } | crontab -u $SUDO_USER -
|
||||
{ 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 * * * * poweroff';} | crontab -u $SUDO_USER -
|
||||
|
||||
#---------------------
|
||||
# Pandora-box
|
||||
#---------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue