Created a task to send automated marketing emailers to users.
An email will be sent on the fifteenth day after a user signs up if the users.sign_in_count is less than 3. The email will notify the user that trial period is going on and all the premium features are free for them to use.
An email will be sent on the forty-fifth day after a user signs up, if users.subscription_id is nil. The email will notify the user about subscription benefits.
Created a task to send automated marketing emailers to users.
users.sign_in_count
is less than 3. The email will notify the user that trial period is going on and all the premium features are free for them to use.users.subscription_id
isnil
. The email will notify the user about subscription benefits.(Tutorial to configure scheduler: https://devcenter.heroku.com/articles/scheduler)