The job Clear cache will run the following:
- First, it will flush (rm -rf) the cache directories of your application specified by the custom JSON node : [app_type][cached_directories] (replace app_type by magento2, symfony, wordpress...)
- Then, It will run specific commands of your application. For example for Magento 2 :
php bin/magento cache:clean
- Lastly, it will restart Apache2 or Nginx+PHP-FPM and reload OpCache.
Job details view: