NotificationEpochUpdate.php 630 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App\Console\Commands;
  3. use Illuminate\Console\Command;
  4. use App\Jobs\InternalPipeline\NotificationEpochUpdatePipeline;
  5. class NotificationEpochUpdate extends Command
  6. {
  7. /**
  8. * The name and signature of the console command.
  9. *
  10. * @var string
  11. */
  12. protected $signature = 'app:notification-epoch-update';
  13. /**
  14. * The console command description.
  15. *
  16. * @var string
  17. */
  18. protected $description = 'Update notification epoch';
  19. /**
  20. * Execute the console command.
  21. */
  22. public function handle()
  23. {
  24. NotificationEpochUpdatePipeline::dispatch();
  25. }
  26. }