Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 680 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 680 Bytes

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://php-cron.is-easy-on-scalingo.com

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