Skip to content

Scalingo/sample-php-cron

Repository files navigation

Sample application using PHP and a task scheduler

This application is a simple PHP application using the package cron/cron installed from Composer

Application → https://sample-php-cron.scalingo.io/

Processes

One additional type of process will be created from the Procfile which defines how to start the task scheduler:

clock: php cron.php

Running locally

First install the dependencies:

$ docker run --rm -it --volume $(pwd):/app --user $(id -u):$(id -g) composer install

Then run the needed containers:

$ docker-compose up

References

Releases

No releases published

Packages

No packages published