diff --git a/lib/tasks/cron.rake b/lib/tasks/cron.rake new file mode 100644 index 0000000..4f5f6d5 --- /dev/null +++ b/lib/tasks/cron.rake @@ -0,0 +1,12 @@ +# Enable with either: +# heroku addons:add nightly_cron +# heroku addons:add hourly_cron + +# Write a task like: +# task :cron => :environment do +# Tweet.get +# end + +# See recent results: +# heroku logs:cron + -- libgit2 0.21.2