1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace App\Jobs\Cron;
- use App\Models\Resume;
- use App\Services\Person\ResumeService;
- use Illuminate\Bus\Queueable;
- use Illuminate\Queue\SerializesModels;
- use Illuminate\Queue\InteractsWithQueue;
- use Illuminate\Contracts\Queue\ShouldQueue;
- use Illuminate\Foundation\Bus\Dispatchable;
- use Illuminate\Support\Facades\Log;
- class ResumeExpires implements ShouldQueue
- {
- use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
-
- const CREATE_LIST = 'create';
-
- const UPDATE_LIST = 'update';
-
- /**
- * Create a new job instance.
- *
- * @return void
- */
- public function __construct()
- {
-
- }
-
- /**
- * Execute the job.
- *
- * @return void
- */
- public function handle(ResumeService $resumeService)
- {
- $resume_id = $resumeService->clearResumeExpires();
- }
- }
|