I just deployed my app to Heroku Free plan and looks like scheduling is not working for Heroku (at all) or for Heroku Free Plan.
If Heroku (or classic) app deployment is not supported for Scheduler - what would be requirements for hosting Docker?
I’ve tried different ones: 10 minutes and once per day.
Looks like Heroku “schedule” works when app is in use and “spinned up”. At least on Free Tier:
The problem with that approach although viable is that if your app crashes but not the heroku dyno it will go to sleep. Having an external service monitoring the app will wake it up also.
Not sure if that proper workaround, because currently there is a schedule each 10 minutes (which is twice frequent to your approach) - and application still goes to slip until someone really browse the web-site.
@psweb@JonL but what about deploying app as a Docker container? Is there any specific requirements for the hosting?
Thanks @psweb and @JonL for the solution.
But I’ve switched my app deployment to Docker and Hetzner hosting (not an add) - it even cheaper than Heroku.