diff --git a/install.sh b/install.sh index 7a9a88f..87266c4 100755 --- a/install.sh +++ b/install.sh @@ -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 #---------------------