Skip to content

Scheduler to update CreditCards payment_due_date #22

@victorpre

Description

@victorpre

Scheduler to update CreditCards payment_due_date

In order to renew the payment_due_date in CreditCard automatically, a task/rake should run everyday at 00:00 according to the snippet below:

https://github.com/victorpre/wallet-api/blob/2e8333b39da1041e9de0ae095349dd4239b8d82f/lib/tasks/scheduler.rake#L1-L7

Since Heroku's free account allows only one dyno, it is not possible to execute this job automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions