cronjob.ini [CronjobSettings]
The block [CronjobSettings] of settings/cronjob.ini, with 4 setting(s).
Never edit settings/cronjob.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/cronjob.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/cronjob.ini.append.phpfor one siteaccess,extension/<extension>/settings/cronjob.ini.append.phpin an extension (read when the extension is active).
ScriptDirectories
Default: a list of 1: cronjobs.
# settings/override/cronjob.ini.append.php
[CronjobSettings]
# an empty "ScriptDirectories[]" first replaces the shipped list; without it the items are added
ScriptDirectories[]
ScriptDirectories[]=cronjobs
*/ ?>Scripts
Since 4.6 the following script is not activated by default
Scripts[]=subtreeexpirycleanup.php
Default: a list of 5: unpublish.php, rssimport.php, indexcontent.php, hide.php, internal_drafts_cleanup.php.
# settings/override/cronjob.ini.append.php
[CronjobSettings]
# an empty "Scripts[]" first replaces the shipped list; without it the items are added
Scripts[]
Scripts[]=unpublish.php
Scripts[]=rssimport.php
Scripts[]=indexcontent.php
Scripts[]=hide.php
Scripts[]=internal_drafts_cleanup.php
*/ ?>ExtensionDirectories
Scripts[]=unlock.php
Scripts[]=staticcache_cleanup.php
Scripts[]=updateviewcount.php
Extension directory for cronjobs.
Default: an empty list.
# settings/override/cronjob.ini.append.php
[CronjobSettings]
# an empty "ExtensionDirectories[]" first replaces the shipped list; without it the items are added
ExtensionDirectories[]
*/ ?>MaxScriptExecutionTime
No more than one instance of a cronjob script can be run at any given time.
If a script uses more time than MaxScriptExecutionTime, the next instance of
it will try to gracefully steal the cronjob script mutex. If the process has
been running for more than two times MaxScriptExecutionTime, the original
process will be killed. The default is 12 hours. MaxScriptExecutionTime can
also be set per cronjob part, that will override this global setting.
Default: 43200.
# settings/override/cronjob.ini.append.php
[CronjobSettings]
MaxScriptExecutionTime=43200
*/ ?>Related
Generated by ./console exp:help:examples from settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.