diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-27 16:03:14 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-27 16:03:14 -0500 |
commit | 2fe7b0cadef73f36555d54cc716c9b6f2fdf7f6b (patch) | |
tree | 4a991c5e28462ad496e4fd8bfffd17e16c07be30 | |
parent | 616881193f56dbc6943a63c0201874b60c075188 (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-- | Makefile | 8 |
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 @@ -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 |