There was a problem loading the comments.

How to install the cronjob for the API tokens

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

  Print
Editions: VIMP Ultimate, VIMP Campus, VIMP Enterprise
Versions: 5.6.0+

 

To have expired API tokens automatically deleted, install the following cronjob.

 

To do this, call as root:

 

# crontab -e

 

and insert the following lines:

 

1 * * * * php -f /path/to/vimp/vimp -- framework:clean-apitoken >> /path/to/vimp/log/clean-apitoken.log 2>&1

Important note:

  • In VIMP versions lower than 6.x, please use the command /symfony instead of /vimp in the code above.
  • /path/to/vimp has to be replaced with the appropriate path to the VIMP directory on your server.

 


Share via

Related Articles

© VIMP GmbH