| 1234567891011121314 |
- <?php
-
- use Illuminate\Foundation\Inspiring;
- use Illuminate\Support\Facades\Artisan;
- use Illuminate\Support\Facades\Schedule;
-
- Artisan::command('inspire', function () {
- $this->comment(Inspiring::quote());
- })->purpose('Display an inspiring quote');
-
- // The double-check for unpaid orders: asks Stripe and HitPay about orders whose payment news was missed.
- // Runs only while the scheduler runs: `composer run dev` on this machine, and a cron line on the server
- // (`* * * * * php artisan schedule:run`, see PROGRESS.md).
- Schedule::command('orders:check-payments')->everyFiveMinutes()->withoutOverlapping();
|