1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

fix bug in poweroff

This commit is contained in:
dbarzin 2023-03-05 13:25:24 +01:00
parent 43792ee16b
commit 794bbd193f

View file

@ -144,7 +144,7 @@ rm /pandora/pandora/workers/virustotal.*
{ crontab -l -u $SUDO_USER; echo '35 * * * * find ~/pandora/tasks/* -type d -empty -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) # Poweroff at 20:00 (green energy)
{ crontab -l -u $SUDO_USER; echo '0 20 * * * * poweroff';} | crontab -u $SUDO_USER - { crontab -l -u $SUDO_USER; echo '0 20 * * * /usr/sbin/poweroff';} | crontab -u $SUDO_USER -
#--------------------- #---------------------
# Pandora-box # Pandora-box