1
0
Fork 0
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:
dbarzin 2023-03-05 13:21:50 +01:00
parent 3845113484
commit 43792ee16b

View file

@ -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
#---------------------