Sha256: 99ca8728869aab7748b0ceb1e94bb7b7ee40568e12ef0ff1d20964d3ec7dfa8a
Contents?: true
Size: 984 Bytes
Versions: 46
Compression:
Stored size: 984 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 "Deliver notifications to users with completed trial accounts" task :deliver_completed_trial_notifications => :environment do Account.deliver_completed_trial_notifications end desc "Run all daily tasks" task :daily => [:update_subscriptions, :ask_users_to_activate, :deliver_expiring_trial_notifications, :deliver_completed_trial_notifications] end
Version data entries
46 entries across 46 versions & 2 rubygems