add message when just outputting schedule file

This commit is contained in:
Javan Makhmali 2011-03-06 21:10:03 -05:00
parent a94dda4b8b
commit 59e7c31093

View File

@ -39,6 +39,8 @@ module Whenever
write_crontab(whenever_cron) write_crontab(whenever_cron)
else else
puts Whenever.cron(@options) 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) exit(0)
end end
end end