by arkadiyt · 4y ago · 0 comments
[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.