summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-05-01 12:52:58 -0500
committerJesse Luehrs <doy@tozt.net>2010-05-01 12:52:58 -0500
commiteffa77b40ae524302c80303e4cae0ad65b2213db (patch)
treeac1e968d5e648904f18c39aaa4fed1db66e5658f
parenta4214d0cf6261a4004818b2ed4aa2b5036e32a6f (diff)
downloadconf-effa77b40ae524302c80303e4cae0ad65b2213db.tar.gz
conf-effa77b40ae524302c80303e4cae0ad65b2213db.zip
add crontab
-rw-r--r--Makefile4
-rw-r--r--crontab2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5afb7c7..377360d 100644
--- a/Makefile
+++ b/Makefile
@@ -49,14 +49,16 @@ RM = @rm -f
build : $(BUILD)
-install : build $(INSTALLED)
+install : build $(INSTALLED) /var/spool/cron/$(USER)
$(MKDIR) $(INTO)/.ssh
$(LN) $(PWD)/authorized_keys $(INTO)/.ssh/
+ @crontab crontab
$(ECHO) Installed into $(HOME)
clean :
$(ECHO) Cleaning from $(HOME)
$(RM) $(BUILD) $(INSTALLED) $(INTO)/.ssh/authorized_keys
+ @crontab -d
$(INTO)/.% : %
@[ ! -f $@ ] || readlink -q $@ || mv -f $@ $@.bak
diff --git a/crontab b/crontab
new file mode 100644
index 0000000..153803c
--- /dev/null
+++ b/crontab
@@ -0,0 +1,2 @@
+0 */3 * * * newsbeuter -x reload
+0 5 * * * perlbrew switch perl-5.10.1 && minicpan