Skip to main content
Version: 7.x

Crontab Recipe

require 'contrib/crontab.php';

Source

Configuration

bin/crontab

Source

Get path to bin

Default value
return which('crontab');

crontab:identifier

Source

Set the identifier used in the crontab, application name by default

Default value
return get('application', 'application');

crontab:use_sudo

Source

Use sudo to run crontab. When running crontab with sudo, you can use the -u parameter to change a crontab for a different user.

Default value
false

Tasks

crontab:sync

Source

Sync crontab jobs.