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.
  • 0 - Disabled
  • 1 - Enabled
--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.
  • 0 - Disabled
  • 1 - Enabled
--crons=1
enable_rest_api_scheduler Boolean Enable/Disable the REST API scheduler.
  • 0 - Disabled
  • 1 - Enabled
--enable_rest_api_scheduler=1
cron_status Boolean Enable/Disable the REST API cron status.
  • 0 - Disabled
  • 1 - Enabled
--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             |
+----------------+-----------+-----------+---------------------------+-----------------+