summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-01-27 16:03:14 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-27 17:32:38 -0500
commit6a928ec93da30723f950a302cfdd6b3cf3f360d5 (patch)
tree624b5cd379f16c98effcc6d25530f2ca0716e335
parent3c6e11e297d488aee52f225b1a65d9453119812b (diff)
move .crontab* into .config/cron
-rw-r--r--.config/cron/crontab (renamed from .crontab)2
-rw-r--r--Makefile8
2 files changed, 4 insertions, 6 deletions
diff --git a/.crontab b/.config/cron/crontab
index ca405cf..e396cef 100644
--- a/.crontab
+++ b/.config/cron/crontab
@@ -1,3 +1,3 @@
# m h dom mon dow command
-*/5 * * * * cd $HOME && make
+*/5 * * * * cd $HOME/.config && make
*/5 * * * * offlineimap-runner 2 -u quiet
diff --git a/Makefile b/Makefile
index 1335456..5e4fb21 100644
--- a/Makefile
+++ b/Makefile
@@ -18,13 +18,11 @@ clean:
.git.info.exclude: .git.info.exclude.in $(shell echo .??*/)
( cat $<; find $^ -type f -name 'CACHEDIR.TAG' -printf '%h\n'|sed 's@^\./@/@' ) > $@
-.crontab.cookie: .crontab .crontab.local
- -(cat $^; echo) | crontab - 2>/dev/null
+.cache/cron/cookie: .config/cron
+ -(cat $^/*; echo) | crontab - 2>/dev/null
+ mkdir -p '$(@D)'
date > '$@'
-# don't do anything, just create these if they doesn't exist
-.crontab.local:
- touch '$@'
Maildir:
mkdir -p '$@'/{cur,new,tmp}
Maildir/%: | Maildir