Docker image to run PHP scripts using a cron schedule. Send errors through e-mail.
When you want your PHP scripts to be executed running a cron schedule from a docker container and you want to be informed of any errors via e-mail.
I have several PHP scripts that retrieve data from API's and write the results to an influxdb. I use Grafana to visualise the data. I want to run these every couple of minutes using as little resources as possible.
As I could not find a solution to be available and well maintained, I decided to make my own. This is also a nice learning opportunity to get more familiar with building container images and using github actions to build and publish them to Docker hub.
It is just a dockerfile that builds an image and publishes it to dockerhub.
It is all on dockerhub: cronphp
This is all on dockerhub: cronphp
Please create an issue in this repository.