Skip to content

Instantly share code, notes, and snippets.

@dewski
Created November 3, 2009 23:39
Show Gist options
  • Select an option

  • Save dewski/225586 to your computer and use it in GitHub Desktop.

Select an option

Save dewski/225586 to your computer and use it in GitHub Desktop.
set :cron_log, "/var/log/cron_log.log"
every 1.day, :at => '12pm' do
rake "backup"
end
every :hour do
# process payments
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment