| 1 |
<?php |
| 2 |
|
| 3 |
use Cron\CronExpression; |
| 4 |
|
| 5 |
if (! CronExpression::supportsAlias('@minutely')) { |
| 6 |
CronExpression::registerAlias('@minutely', '* * * * *'); |
| 7 |
} |
| 8 |
|
| 9 |
if (! CronExpression::supportsAlias('@quarterly')) { |
| 10 |
CronExpression::registerAlias('@quarterly', '0 0 1 */3 *'); |
| 11 |
} |