From 794bbd193f05e35e69de98ad00f8d9c749337b75 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Sun, 5 Mar 2023 13:25:24 +0100 Subject: [PATCH] fix bug in poweroff --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 87266c4..310ca38 100755 --- a/install.sh +++ b/install.sh @@ -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 - # 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