Hacker News new | ask | show | jobs
by albertgoeswoof 1371 days ago
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.
1 comments

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.