Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

cronjob.ini [AdminSettings]

The settings of [AdminSettings] in cronjob.ini: ForbiddenParts, PhpCliPath, LogFile, ErrorFile, CrontabSchedule_expqueue, CrontabSchedule_sqliimport, CrontabSchedule_expai

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/cronjob/AdminSettings.md

On this page

cronjob.ini [AdminSettings]

The block [AdminSettings] of settings/cronjob.ini, with 7 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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/cronjob.ini.append.php for one siteaccess,
  • extension/<extension>/settings/cronjob.ini.append.php in an extension (read when the extension is active).

ForbiddenParts

Settings for the cronjobs console at Setup > Cronjobs, which launches a
cronjob part from the administration interface.
Parts that must not be launchable from a browser. Both defaults are
destructive and belong to an administrator on a shell: cluster_maintenance
purges cluster storage, and unlock releases locks other processes hold.

Default: a list of 2: cluster_maintenance, unlock.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[AdminSettings]
# an empty "ForbiddenParts[]" first replaces the shipped list; without it the items are added
ForbiddenParts[]
ForbiddenParts[]=cluster_maintenance
ForbiddenParts[]=unlock
*/ ?>

PhpCliPath

Full path to the php command line binary used to run runcronjobs.php. Left
empty the usual locations are tried, which is enough on a normal installation.
It has to be a command line binary: the one running the web request cannot run
a script.

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[AdminSettings]
PhpCliPath=
*/ ?>

LogFile

Where a launched cronjob's output and errors are written, relative to the var
directory of the siteaccess. The console reads these, and follows them as they
grow while a job runs.

Default: cronjobs/output.log.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[AdminSettings]
LogFile=cronjobs/output.log
*/ ?>

ErrorFile

Default: cronjobs/error.log.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[AdminSettings]
ErrorFile=cronjobs/error.log
*/ ?>

CrontabSchedule_expqueue

The schedule of a part in a crontab line, CrontabSchedule_<part>=<five cron fields>: the line Setup >
Cronjobs proposes and the line the installers and bin/php/installcrontab.php write. Without one:
frequent */5 * * * *, the global part */15 * * * *, infrequent 17 * * * *, any other part 0 * * * *.
The job queue and the imports' schedules run every minute, expai's queue every five minutes.

Default: * * * * *.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[AdminSettings]
CrontabSchedule_expqueue=* * * * *
*/ ?>

CrontabSchedule_sqliimport

Default: * * * * *.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[AdminSettings]
CrontabSchedule_sqliimport=* * * * *
*/ ?>

CrontabSchedule_expai

Default: */5 * * * *.

<?php /* #?ini charset="utf-8"?
# settings/override/cronjob.ini.append.php
[AdminSettings]
CrontabSchedule_expai=*/5 * * * *
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x