How do I set up the cronjob for WebP conversion?
We recommend setting up a cronjob for the WebP conversion task that regularly checks whether all image files have been converted to WebP.
Before doing so, please make sure that WebP support is enabled in the configuration under Basic -> Basic Settings.
The task responsible for this can be called as follows:
It supports the following parameters:
Generates new WebP images and overwrites the existing ones.
Forces the execution of the task, even if it is already running.
The task can be called via a daily cronjob like this:
0 3 * * * php -f /pfath/to/vimp/symfony -- framework:generate-webp --overwrite > /dev/null 2>&1
Last update on 2022/09/13 by Admin.