Task Scheduler: Difference between revisions
From Joomla! Documentation
Bembelimen (talk | contribs) Add categories |
No edit summary |
||
| Line 7: | Line 7: | ||
</source> | </source> | ||
The fieldset must be a direct child of the form | |||
<source lang="xml"> | |||
<form> | |||
<fieldset name="aside"> | |||
<field name="cli_exclusive" type="hidden" default="1" /> | |||
</fieldset> | |||
... | |||
</source> | |||
<noinclude> | <noinclude> | ||
[[Category:Joomla! 4.x{{#translation:}}]] | [[Category:Joomla! 4.x{{#translation:}}]] | ||
[[Category:Tutorials{{#translation:}}]] | [[Category:Tutorials{{#translation:}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 18:06, 16 May 2022
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>
...