From effa77b40ae524302c80303e4cae0ad65b2213db Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 1 May 2010 12:52:58 -0500 Subject: add crontab --- Makefile | 4 +++- crontab | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 crontab 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 -- cgit v1.2.3-54-g00ecf