phishing-frenzy icon indicating copy to clipboard operation
phishing-frenzy copied to clipboard

Allow Scheduling of Sending Email

Open zeknox opened this issue 11 years ago • 3 comments

https://github.com/resque/resque-scheduler

https://github.com/resque/resque

zeknox avatar Nov 07 '13 06:11 zeknox

This would just be within email_controller:

interval = end_date - DateTime.now
MailWorker.perform_in(interval, args)

afaik

Meatballs1 avatar Jul 15 '15 23:07 Meatballs1

Wouldn't that be quite limiting then? For example, what if the user wanted to schedule to start the emails 2 days from now.

zeknox avatar Jul 15 '15 23:07 zeknox

I would assume end_date comes through a date/time selector on the UI. User just clicks two days away? :)

Meatballs1 avatar Jul 16 '15 14:07 Meatballs1