• I am using WP Crontrol to try and schedule the generation of a zip. I have set it to run every hour and the cron seems to run but no zip is generated.

    I’m using the following settings in Crontrol:
    Hook: wp_static_html_output_server_side_export_hook
    Arguments: None
    Actions: wp_static_html_output_server_side_export()

    Any suggestions?

Viewing 1 replies (of 1 total)
  • Plugin Author Leon Stafford

    (@leonstafford)

    Hi @yst14,

    Support for the hook needed for WP Crontrol was dropped in version 6 and later, in favour of the WP-CLI integration.

    I’ll bring back the hook soon, but for now, you may want to look at a regular cron job and using WP-CLI, such as:

    wp wp2static generate && wp wp2static deploy

    Please email me to discuss further: [email protected]

    Cheers,

    Leon

Viewing 1 replies (of 1 total)

The topic ‘Static Files not generated when calling Hook’ is closed to new replies.