Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Dmitry Z

    (@dmitryzan)

    Thank you Patrick for the quick reply!
    I saw this pattern in the plugin’s run_static_export() function (which we called in our code before). As far as I can tell the current function code does exactly what you provided above.
    We’ve tried to use your code directly but the result is the same as with run_static_export() call – a new wp_archive_creation_job_cron job created and the lowest interval we can tune it down to is 1 minute. No immediate execution.

    As I mentioned before when we click the “Generate” button in the UI to compare behaviors we do see the same job is also being created but then it runs shortly due to some trigger not waiting for the interval.

    Our deployment is docker-based, using the official original WP image (WP: 6.8.2, PHP: 8.4.11, SS: 3.4.4.1, SS Pro: 1.7.2). We do use API authentication via built-in Application Passwords (so we had to provide username/token to SS in the Debug->Basic Auth section, but without enabling the “Enable Basic Auth” switch).

    Would be happy to discuss this outside the forum, can provide debug logs if needed. Being a Pro version customer we submitted a support request few days ago (see the “Export stuck after triggering via REST API” thread) but essentially received answers like “please read the docs and use the code from the original post”).

Viewing 1 replies (of 1 total)