hughbris / cadaver

Docker image build files for running Grav CMS under Caddy webserver
MIT License
1 stars 1 forks source link

Support or document how to execute Grav's cron-based scheduler #6

Open hughbris opened 1 year ago

hughbris commented 1 year ago

Grav has its own handy job scheduler which requires the OS's cron. It's not considered good practice in Docker to run a cron service inside an application container. This makes the scheduler difficult to support, but the documentation should suggest ways to add support for it that the application container can use.

hughbris commented 1 year ago

Running an Ofelia service within a container stack, most easily specified in docker-compose, is one solution that can be easily described.