-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run rake command without --silent #524
Comments
I have the same problem! |
swapnilchincholkar
added a commit
to swapnilchincholkar/whenever
that referenced
this issue
Feb 25, 2015
+1 |
+1 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 seriously. |
why so serious |
You can always add your own type job for # schedule.rb
job_type :rake, "cd :path && :environment_variable=:environment :bundle_command rake :task :output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default, the rake job type appends a --silent
There's no way to remove this --silent option to the rake command see :
https://github.com/javan/whenever/blob/master/lib/whenever/setup.rb#L24
A workaround is to rather use a command job type.
I successfully replaced :
with :
It effectively wrote to the crontab :
Now I can enjoy the output of the rake command in my log file :
IMHO , it makes no sense to append the --silent argument, since nothing prevents the user from using -s in its rake command
The text was updated successfully, but these errors were encountered: