Last modified April 22, 2025
manageSettingsAutomation
This function allows you to modify the Automation Settings.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
heartbeat | Boolean | Enable/Disable queued tasks using the admin AJAX heartbeat call. |
|
--heartbeat=1 |
heartbeat_ttl | Boolean | Set heartbeat TTL interval (time-to-live in seconds). | $nbsp; | --heartbeat_ttl=10 |
crons | Boolean | Enable/Disable the scheduled cron system. |
|
--crons=1 |
enable_rest_api_scheduler | Boolean | Enable/Disable the REST API scheduler. |
|
--enable_rest_api_scheduler=1 |
cron_status | Boolean | Enable/Disable the REST API cron status. |
|
--cron_status=1 |
Example Call JETAPI
wp jetbackup manageSettingsAutomation --heartbeat=1 --heartbeat_ttl=10 --crons=1 --enable_rest_api_scheduler=0 --cron_status=1
Saved Successfully
+----------------+-----------+-----------+---------------------------+-----------------+
| Wordpress Cron | Heartbeat | Cron Jobs | FrontEnd REST API Enabled | Cron Job Status |
+----------------+-----------+-----------+---------------------------+-----------------+
| Yes | Yes | Yes | Yes | Yes |
+----------------+-----------+-----------+---------------------------+-----------------+
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.