LLMS_Abstract_Notification_Processor::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


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.notification.processor.php

	public function handle_cron_healthcheck() {
		if ( $this->is_process_running() ) {
			// Background process already running.
			return;
		}
		if ( $this->is_queue_empty() ) {
			// No data to process.
			$this->clear_scheduled_event();
			return;
		}
		$this->handle();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.