Skip to content

Instantly share code, notes, and snippets.

@mockra mockra/cron.rake
Created Aug 15, 2012

Embed
What would you like to do?
task :cron => [ :environment, :email ] do
end
task :email do
if Time.now.hour % 6 == 0
# Send Email
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.