summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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