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

fix crontab

This commit is contained in:
Didier 2023-04-28 08:48:44 +02:00
parent 78ba29327d
commit 95f6225278

View file

@ -165,7 +165,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 - { 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; echo '0 20 * * * /sbin/poweroff';} | crontab - echo '0 20 * * * /sbin/poweroff' >> /etc/crontab
#--------------------- #---------------------
# Pandora-box # Pandora-box