saucy/lib/tasks/saucy.rake

15 lines
367 B
Ruby

desc "Application specific tasks"
namespace :saucy do
desc "Background sync operations"
task sync: :environment do
Member.generate_all_missing_ifthenpay_links!
Member.reset_all_status!
Member.regenerate_all_notifications
end
desc "Send daily email notifications"
task notify: :environment do
Notification.send_scheduled_for_today
end
end