Schedule

Code should go in boot method in schedule class in app folder
//how to call schedule in cron job
appurl/run/schedule // path for schedule boot method
// run function
$this->scheduler->call(function (){
echo 7777;
})->everyMinute()->output(Path::logs('schedule.log'));
// run command line
$this->scheduler->raw('php bin/ion make:key --jwt')
->everyMinute()
->output(Path::logs('schedule.log'));