📖 doc to add crontab job
This commit is contained in:
parent
2c113e9e23
commit
c0e7173326
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue