Skip to content

Commit

Permalink
Another try #2
Browse files Browse the repository at this point in the history
  • Loading branch information
srnjak committed Oct 25, 2023
1 parent 29afb79 commit 01fb2df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ set -e
case "$1" in
configure)
# Add the cronjob to the current user's crontab
whoami
sleep 5 && (crontab -l ; echo "0 0 * * * /usr/share/purge-backups/purge-backups-scheduler") | crontab - &
crontab -l
# (crontab -l ; echo "0 0 * * * /usr/share/purge-backups/purge-backups-scheduler") | crontab -
(echo "0 0 * * * /usr/share/purge-backups/purge-backups-scheduler") | crontab -
;;
*)
# Do nothing on other actions
Expand Down

0 comments on commit 01fb2df

Please sign in to comment.