Sha256: a56742c31403313fc11a6ef7a34e2f6b487a06a701282706f35d00e8dfc5bcd1
Contents?: true
Size: 734 Bytes
Versions: 37
Compression:
Stored size: 734 Bytes
Contents
namespace :saucy do desc "Updates subscription status and delivers receipt/problem notices" task :update_subscriptions => :environment do Account.update_subscriptions! end desc "Deliver notifications for users that have signed up and aren't activated" task :ask_users_to_activate => :environment do Account.deliver_new_unactivated_notifications end desc "Deliver notifications to users with expiring trial accounts" task :deliver_expiring_trial_notifications => :environment do Account.deliver_expiring_trial_notifications end desc "Run all daily tasks" task :daily => [:update_subscriptions, :ask_users_to_activate, :deliver_expiring_trial_notifications] end
Version data entries
37 entries across 37 versions & 1 rubygems