File manager - Edit - /home/linknsbh/sabel-eltaqwa.com/assets/lfm/files/shares/events/thumbs/Console.zip
Back
PK դ�\c�b Kernel.phpnu �[��� <?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ Commands\ExpiredUser::class, ]; /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { $schedule->command('expire:user') ->daily(); $schedule->command('queue:work --queue=ai --stop-when-empty --sleep=1 --tries=1 --timeout=600') ->everyMinute() ->withoutOverlapping(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } } PK դ�\�z�� � Commands/ExpiredUser.phpnu �[��� <?php namespace App\Console\Commands; use App\Models\Membership; use App\Models\User; use Illuminate\Console\Command; use Illuminate\Support\Carbon; class ExpiredUser extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'expire:user'; /** * The console command description. * * @var string */ protected $description = 'Command description'; /** * Create a new command instance. * * @return void */ public function __construct() { parent::__construct(); } /** * Execute the console command. * * @return mixed */ public function handle() { } } PK դ�\c�b Kernel.phpnu �[��� PK դ�\�z�� � U Commands/ExpiredUser.phpnu �[��� PK � �
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.9 |
proxy
|
phpinfo
|
Settings