Created
January 12, 2012 11:41
-
-
Save k3rni/1600029 to your computer and use it in GitHub Desktop.
custom job_type messes up output logging - minimal example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
job_type :massage, "massage :task" | |
every 10.minutes do | |
massage :back, :output => {:standard => 'massage.log'} | |
command "massage back", :output => {:standard => 'massage.log'} | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0,10,20,30,40,50 * * * * /bin/bash -l -c 'massage back' | |
0,10,20,30,40,50 * * * * /bin/bash -l -c 'massage back >> massage.log' | |
## [message] Above is your schedule file converted to cron syntax; your crontab file was not updated. | |
## [message] Run `whenever --help' for more options. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment