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 16:03:14 -0500
commit2fe7b0cadef73f36555d54cc716c9b6f2fdf7f6b (patch)
tree4a991c5e28462ad496e4fd8bfffd17e16c07be30
parent616881193f56dbc6943a63c0201874b60c075188 (diff)
move .crontab* into .config/cron
-rw-r--r--.config/cron/crontab (renamed from .crontab)2
-rw-r--r--.config/cron/local (renamed from .crontab.local)0
-rw-r--r--Makefile8
3 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/.crontab.local b/.config/cron/local
index a4f352f..a4f352f 100644
--- a/.crontab.local
+++ b/.config/cron/local
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