LLMS_Background_Updater::handle_cron_healthcheck()
Handle cron healthcheck
Description Description
Restart the background process if not already running and data exists in the queue.
Overridden to enable the "force" option to work, replaces "exit" with "return" so that we can redirect and manually call the cronjob
Return Return
(void)
Source Source
File: includes/class.llms.background.updater.php
public function handle_cron_healthcheck() { // Background process already running. if ( $this->is_process_running() ) { return; } // No data to process. if ( $this->is_queue_empty() ) { $this->clear_scheduled_event(); return; } $this->handle(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.4.3 | Introduced. |