add message when just outputting schedule file
This commit is contained in:
parent
a94dda4b8b
commit
59e7c31093
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user