From 59e7c31093a709c2f1139ddae75d505f14ade79c Mon Sep 17 00:00:00 2001 From: Javan Makhmali <javan@javan.us> Date: Sun, 6 Mar 2011 21:10:03 -0500 Subject: [PATCH] add message when just outputting schedule file --- lib/whenever/command_line.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/whenever/command_line.rb b/lib/whenever/command_line.rb index d89f64a..bae7aa7 100644 --- a/lib/whenever/command_line.rb +++ b/lib/whenever/command_line.rb @@ -39,6 +39,8 @@ module Whenever write_crontab(whenever_cron) else puts Whenever.cron(@options) + puts "[message] Above your schedule file converted to cron syntax; your crontab file was not updated." + puts "[message] Run `whenever --help' for more options." exit(0) end end