Skip to content

Commit a13a3b3

Browse files
author
ImaCrea
committed
update anacrontab to update content on sunday morning between 7h and 8h UTC
1 parent 6b1f9b5 commit a13a3b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anacrontab

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
#1@daily 0 purgetmp find /srv/data/tmp -type f -mtime +7 -delete > /dev/null
55

66
# autoupdate jekyll every hour
7-
1@hourly 0 update if [ $(date +'%u%H') -ge 416 ] && [ $(date +'%u%H') -le 417 ] ; then cd ~/web/vhosts/git.mailta.pe/ && git pull --rebase && date >> update && git add update && git commit -m "update" && git push; fi
7+
1@hourly 0 update if [ $(date +'%u%H') -ge 707 ] && [ $(date +'%u%H') -le 708 ] ; then cd ~/web/vhosts/git.mailta.pe/ && git pull --rebase && date >> update && git add update && git commit -m "update" && git push; fi

0 commit comments

Comments
 (0)