Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like Fly but can't migrate my apps to them because they don't support cron jobs - they've been promising it for more than a year now: https://community.fly.io/t/recurring-scheduled-tasks-like-cr...


I run cron jobs on fly, using a process. Eg with a rails app running Puma:

  [processes]
    web = "bundle exec puma -C config/puma.rb"
    worker = "config/cron_entrypoint.sh"
And the shell script looks like this:

  #!/bin/sh

  printenv | grep -v "no_proxy" >> /etc/environment

  cron -f
Although I would say that cron isn’t a great solution for containerized apps on most platforms, it seems like scheduled processes need a rethink for todays infra.


We're building serverless scheduled processes, queues, and event-driven systems at https://www.inngest.com/. It's early days, and we agree — they've needed a refresh to adapt to modern practices.


We just released scheduled machines that will help with this. It's similar to the scheduler add-on in heroku and supports general intervals (hourly, daily, weekly, monthly). Feature announcement here -> https://community.fly.io/t/new-feature-scheduled-machines/73...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: