[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 752
  • Last Modified:

Send email at specific date time - Rails

Lets say my users can sign up for option A or B i want to send an email to users who signed up for A every Friday and option B users every Monday.

I know how to send email after a specific action, like sign-up but how would i go about this?
1 Solution
Make a rake task that grabs the appropriate users and sends an email.

Schedule it with the whenever gem, which will create the appropriate cron entries:


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now