How to handle a large number of images?

Hello,
I visit thousands of image and we need to process. Is there any way to automatically execute your script, for example, at night, when the smallest load on the server.
Napdá you another solution?

    Adam Czajczyk

    Hello Petr,

    I hope you're well today and thank you for your question!

    The WP Smush Pro plugin works to way:

    1) Bulk smushing

    This is executed manually by going to dashboard's "Media -> WP Smush" page and hitting "Bulk Smush Now" button. You will want to keep that page open while smushing is being done.

    2) Smush images on upload

    You can turn that option on "Media -> WP Smush" page and all the images will then be automatically optimized during upload.

    That said, if you do enable "Smush images on upload" you will not need to perform "Bulk Smush" more than once, therefore there'd be no need to run plugin in background.

    If I'm missing something here, please let me know!

    Best regards,
    Adam