bin/rq in rq-3.3.0 vs bin/rq in rq-3.4.0
- old
+ new
@@ -422,10 +422,12 @@
touch
when 'tail'
tail
when 'cron'
cron
+ when 'crontab'
+ crontab
else
raise "invalid mode <#{ @mode }>"
end
self
rescue Errno::EPIPE => e
@@ -710,9 +712,17 @@
#--}}}
end
# add/delete crontab entry
def cron
#--{{{
+ init_logging
+ cron = Cron::new self
+ cron.cron
+#--}}}
+ end
+ def crontab
+#--{{{
+ argv.unshift 'tab'
init_logging
cron = Cron::new self
cron.cron
#--}}}
end