Skip to content

Instantly share code, notes, and snippets.

@czottmann
Created February 24, 2009 19:48
Show Gist options
  • Save czottmann/69745 to your computer and use it in GitHub Desktop.
Save czottmann/69745 to your computer and use it in GitHub Desktop.
God.watch do |w|
# ...
# Setting ENV variables for your script.
w.env = { "WORKER_ID" => "12" }
# Allow STDOUT and capture it to a log file.
w.log = "path/to/stdout/log/file.log"
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment