<?php

/** @var \Openguru\OpenCartFramework\Scheduler\ScheduleJobRegistry $scheduler */

// Define your scheduled tasks here.
// The $scheduler variable is available in this scope.

// Example: Running a task class every 5 minutes. Class should have execute method.
// $scheduler->add(\My\Task\Class::class)->everyFiveMinutes();

// Example: Running a closure every hour
// $scheduler->add(function () {
//    // Do something
// }, 'my_closure_task')->everyHour();

// Example: Custom cron expression
// $scheduler->add(\My\Task\Class::class)->at('0 12 * * *');

use Bastion\ScheduledTasks\TeleCartPulseSendEventsTask;

$scheduler->add(TeleCartPulseSendEventsTask::class, 'telecart_pulse_send_events')->everyTenMinutes();
