Skip to content

Commit

Permalink
Another try.
Browse files Browse the repository at this point in the history
  • Loading branch information
srnjak committed Oct 25, 2023
1 parent c3079bc commit 555fa43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ 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
;;
*)
# Do nothing on other actions
Expand Down

0 comments on commit 555fa43

Please sign in to comment.