diff --git a/README.md b/README.md index 0bd1839..43c94e4 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,14 @@ initiate the database ```bash php bin/console doctrine:schema:create ``` +## cronjob to delete expired polls +add this line in your crontab to run the clearance of expired polls everyday at 0h00. +``` +0 0 * * * wget http://MYWEBSITE/api/v1/clean-polls +``` +you can open your crontabl in command line with +crontab -e + # About made by B. Lemoine, aka Tykayn, for the framadate funky front end project, a polling libre software.