J4.x

Task Scheduler

From Joomla! Documentation

Limit Task to CLI only[edit]

To implement a task, which is executed via CLI only add the following code to the task XML:

<fieldset name="aside">
	<field name="cli_exclusive" type="hidden" default="1" />
</fieldset>

The fieldset must be a direct child of the form

<form>
	<fieldset name="aside">
		<field name="cli_exclusive" type="hidden" default="1" />
	</fieldset>
...