gaynetdinov / ex_money

An [abandoned] self-hosted personal finance app
ISC License
167 stars 12 forks source link

Create scheduler to manage transactions worker #4

Closed gaynetdinov closed 8 years ago

gaynetdinov commented 8 years ago

Since ExMoney should be deployable to free heroku plan, any worker should be managed by a scheduler. Scheduler is an GenServer worker which stops/starts worker according to user's schedule to meet Heroku's free plan requirement: an app should sleep for 6 hours per day. As a first iteration scheduler should stop transactions worker at midnight and start it again at 7am.

gaynetdinov commented 8 years ago

https://github.com/gaynetdinov/ex_money/pull/20