ss_cron

Type: WordPress constant

How to use: define( 'SS_CRON', bool $truefalse );

Where to add: wp-config.php

About PHP Constants: https://www.php.net/manual/en/language.constants.php

Included in: Simply Static Core/Free 3.1.6.1+

Overview

The ss_cron constant allows you instruct Simply Static to use either the system Cron or WP-Cron during export. By default, Simply Static will use WP-Cron. The value for this constant must be a boolean value. When set to TRUE, Simply Static will use the system/server Cron. When set to FALSE, Simply Static will use the default WP-Cron.

Common issue resolved by this constant

WP-Cron is disabled and the system/server Cron is used instead: In some WordPress environments WP-Cron is disabled in favor of using the server Cron service. Simply Static requires the availability of Cron and may not function correctly if it is trying to use the default WP-Cron which is not available. Adding this constant to the WP-Config.php file can resolve this type of issue.

Code Snippet

This code snippet instructs Simply Static to use the server Cron during the export process:

define( 'SS_CRON', true );