<?php

declare(strict_types=1);
/*
|--------------------------------------------------------------------------------------
|  Task File
|--------------------------------------------------------------------------------------
|
| This file basically registers a new task to be executed by Crunz
| To get the list of all frequency and constraint method, you may
| go to this link: https://github.com/crunzphp/crunz#frequency-of-execution
|
*/

use Crunz\Schedule;

$scheduler = new Schedule();
$task = $scheduler->run('DummyCommand');
$task
    ->description('DummyDescription')
    ->in('DummyPath')
    ->preventOverlapping()
    ->DummyFrequency()
    ->DummyConstraint()
;

return $scheduler;
