<?php

namespace Database\Seeders;

use App\Models\ScheduledTask;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class ScheduledTasksSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // Sample scheduled tasks with different frequencies
//        $scheduledTasks = [
//            [
//                'name' => 'Task 1',
//                'command' => 'your:command1', // Replace this with the actual command to execute
//                'frequency' => 1,
//                'scheduled_at' => now(),
//            ],
//            [
//                'name' => 'Task 2',
//                'command' => 'your:command2', // Replace this with the actual command to execute
//                'frequency' => 5,
//                'scheduled_at' => now(),
//            ],
//            [
//                'name' => 'Task 3',
//                'command' => 'your:command3', // Replace this with the actual command to execute
//                'frequency' => 'daily',
//                'scheduled_at' => now(),
//            ],
//            [
//                'name' => 'Task 4',
//                'command' => 'your:command4', // Replace this with the actual command to execute
//                'frequency' => 'monthly',
//                'scheduled_at' => now(),
//            ],
//        ];
//
//        ScheduledTask::insert($scheduledTasks);
    }
}
