This commit is contained in:
flyingscorpio@arch-desktop 2020-09-08 14:23:34 +02:00
parent 942f0f2a63
commit a2a8158087

View file

@ -2,7 +2,7 @@
# We only want this file to be executed at most once per day, so we stat a cache
# file before running the rest of the code
cache_file='/home/flyingscorpio/.cache/borg_backup_hood_last_executed'
cache_file='/home/flyingscorpio/.cache/borg_backup_hook_last_executed'
if [ -f "$cache_file" ]; then
cache_stat=$(stat -c %y "$cache_file" | cut -d' ' -f1)
today=$(date +%Y-%m-%d)