It has all necessary methods to set time schedule of the task. By default schedule is equal to original
cron's: '* * * * *' that means to run specified console command every minute.
Original cron syntax is supported for methods hour(), minute(), day(), month(), dayOfWeek(), cron().
By calling unique() method you can set flag for task to be unique. It means that if task already running and
it's time to run it again - new instance will not be executed (warning message would be added to logs).
You can combine any methods to set desired schedule. For example, if you want to run command 'import' with
action 'products' and params '--updateAll=1' every day at 18:00, you need to create next task instance:
$task = new CronTask('import', 'products', array('updateAll' => 1));
$task->name('Import products (daily@18:00)')->daily()->hour(18);
How to add and run task see CronService class description.