laravel写crontab定时任务(发送邮件)和laravel crontab不执行的问题

1.artisan命令:

php artisan make:command SendRejectEmail

2.app/Console/Commands下就会看到SendRejectEmail.php

```

/**

* The name and signature of the console command.

*

* @var string

*/

protected $signature = 'send-reject-email:email';

/**

* The console command description.

*

* @var string

*/

protected $description = 'send reject email';

```

你可能感兴趣的:(laravel写crontab定时任务(发送邮件)和laravel crontab不执行的问题)