Skip to content

Commit

Permalink
Use crontab command to recreate empty tab file (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 authored Aug 15, 2022
1 parent b2d4c48 commit 599b7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ ! -d "/etc/dockervolumebackup/conf.d" ]; then
else
echo "/etc/dockervolumebackup/conf.d was found, using configuration files from this directory."

crontab -r && touch /etc/crontabs/root
crontab -r && crontab /dev/null
for file in /etc/dockervolumebackup/conf.d/*; do
source $file
BACKUP_CRON_EXPRESSION="${BACKUP_CRON_EXPRESSION:-@daily}"
Expand Down

0 comments on commit 599b7f3

Please sign in to comment.