diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-27 16:03:14 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-27 17:32:38 -0500 |
commit | 6a928ec93da30723f950a302cfdd6b3cf3f360d5 (patch) | |
tree | 624b5cd379f16c98effcc6d25530f2ca0716e335 | |
parent | 3c6e11e297d488aee52f225b1a65d9453119812b (diff) |
move .crontab* into .config/cron
-rw-r--r-- | .config/cron/crontab (renamed from .crontab) | 2 | ||||
-rw-r--r-- | Makefile | 8 |
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 @@ -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 |