@@ -27,12 +27,12 @@ discard block |
||
| 27 | 27 | use function Deployer\Support\escape_shell_argument; |
| 28 | 28 | |
| 29 | 29 | // Get path to bin |
| 30 | -set('bin/crontab', function () { |
|
| 30 | +set('bin/crontab', function() { |
|
| 31 | 31 | return which('crontab'); |
| 32 | 32 | }); |
| 33 | 33 | |
| 34 | 34 | // Set the identifier used in the crontab, application name by default |
| 35 | -set('crontab:identifier', function () { |
|
| 35 | +set('crontab:identifier', function() { |
|
| 36 | 36 | return get('application', 'application'); |
| 37 | 37 | }); |
| 38 | 38 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | set('crontab:use_sudo', false); |
| 41 | 41 | |
| 42 | 42 | desc('Sync crontab jobs'); |
| 43 | -task('crontab:sync', function () { |
|
| 43 | +task('crontab:sync', function() { |
|
| 44 | 44 | $cronJobsLocal = array_map( |
| 45 | 45 | fn($job) => parse($job), |
| 46 | 46 | get('crontab:jobs', []), |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | }); |
| 85 | 85 | |
| 86 | 86 | desc('Remove crontab jobs'); |
| 87 | -task('crontab:remove', function () { |
|
| 87 | +task('crontab:remove', function() { |
|
| 88 | 88 | $cronJobsLocal = array_map( |
| 89 | 89 | fn($job) => parse($job), |
| 90 | 90 | get('crontab:jobs', []), |