4 ms·
Please don't spread misinformation playing a FUD book. Nothing stops you from using cron in your Dockerfile: RUN apt-get install -y cron Actually I just
by garganzol 4y ago
Please don't spread misinformation playing a FUD book.
Nothing stops you from using cron in your Dockerfile:
RUN apt-get install -y cron
Actually I just did it a few weeks ago and it works as expected.
fly.io is universal, it just runs your Dockerfile. Everything else is up to you.
- tptacek 4y agoIt's OK! This comment would be great without the first line. They're making a legit point: Heroku had some built-in cron thing, I guess? (I'm not the Heroku person on our team). We're gradually rolling one of those out. That's the comparison they're making. It's weird, because there's a group of (understandably) devoted Heroku users who have very high standards for fidelity to Heroku's DX, and while we're thrilled to do our best to meet (or at least approach) those standards, being Heroku is actually not the primary mission of our team; getting people's apps running quickly and close to their users globally is.
- r1cka 4y agoHeroku was the original gold standard for git based app deploys, but never for scheduling tasks. Here's a link to the documentation of Heroku's supposed "cron alternative" : https://devcenter.heroku.com/articles/scheduler https://devcenter.heroku.com/articles/scheduler It only supports hourly, daily, or every 10 minutes and it isn't even guaranteed to run. I would see it skip jobs more often than I expected, maybe 1 in 20 at times. Supporting actual cron is way better than anything Heroku offered.
- tptacek 4y agoI've wanted us to do a cron-thing for years, ever since I started, but because I hate cron. :)
- bsnnkv 4y agoI'm also a very happy user of cronjobs using `cron -f` (managed with Overmind) on one of their free shared VMs.