# Crontab Recipe ```php require 'contrib/crontab.php'; ``` [Source](/contrib/crontab.php) ## Configuration ### bin/crontab [Source](https://github.com/deployphp/deployer/blob/master/contrib/crontab.php#L28) Get path to bin ```php title="Default value" return which('crontab'); ``` ### crontab:identifier [Source](https://github.com/deployphp/deployer/blob/master/contrib/crontab.php#L33) Set the identifier used in the crontab, application name by default ```php title="Default value" return get('application', 'application'); ``` ### crontab:use_sudo [Source](https://github.com/deployphp/deployer/blob/master/contrib/crontab.php#L38) Use sudo to run crontab. When running crontab with sudo, you can use the `-u` parameter to change a crontab for a different user. ```php title="Default value" false ``` ## Tasks ### crontab:sync [Source](https://github.com/deployphp/deployer/blob/master/contrib/crontab.php#L41) Sync crontab jobs.