Skip to content

Instantly share code, notes, and snippets.

@k3rni
Created January 12, 2012 11:41
Show Gist options
  • Save k3rni/1600029 to your computer and use it in GitHub Desktop.
Save k3rni/1600029 to your computer and use it in GitHub Desktop.
custom job_type messes up output logging - minimal example
job_type :massage, "massage :task"
every 10.minutes do
massage :back, :output => {:standard => 'massage.log'}
command "massage back", :output => {:standard => 'massage.log'}
end
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