From cc4fc6c6db7e62de136793e1abed51ccbd9321b3 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Tue, 28 Mar 2023 07:38:19 +0200 Subject: [PATCH] fix poweroff --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 57e65d1..31f1b1f 100755 --- a/install.sh +++ b/install.sh @@ -152,7 +152,7 @@ su - $SUDO_USER -c "rm ~/pandora/pandora/workers/xml*" { 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 root; echo '0 20 * * * /sbin/poweroff';} | crontab -u root - +{ crontab -l; echo '0 20 * * * /sbin/poweroff';} | crontab - #--------------------- # Pandora-box