Skip to content

Instantly share code, notes, and snippets.

@sarcilav
Created January 5, 2011 14:42
Show Gist options
  • Select an option

  • Save sarcilav/766402 to your computer and use it in GitHub Desktop.

Select an option

Save sarcilav/766402 to your computer and use it in GitHub Desktop.
every 1.day, :at => '2:00am' do
runner "Message.reset_featured", :environment => :production
end
every 1.day, :at => '2:00am' do
runner "Message.reset_featured", :environment => :staging
end
every 1.minutes do
runner "Message.reset_featured" , :environment => :Staging, :Output => {:error => '/tmp/error.log', :Standard => '/tmp/cron.log'}
end
@sarcilav
Copy link
Copy Markdown
Author

sarcilav commented Jan 7, 2011

jajajaja, demasiado cierto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment