J4.x

J4.x:Task Scheduler

From Joomla! Documentation

Revision as of 18:06, 16 May 2022 by Brian (talk | contribs)

Limit Task to CLI only

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>
...