phishing-frenzy
phishing-frenzy copied to clipboard
Allow Scheduling of Sending Email
https://github.com/resque/resque-scheduler
https://github.com/resque/resque
This would just be within email_controller:
interval = end_date - DateTime.now
MailWorker.perform_in(interval, args)
afaik
Wouldn't that be quite limiting then? For example, what if the user wanted to schedule to start the emails 2 days from now.
I would assume end_date comes through a date/time selector on the UI. User just clicks two days away? :)