I want get response from the command
my command like this
public function handle(){
return 'something';
}
Kernel.php
$schedule->command('mycommand')
->cron('* * * * *');
$return_value = ?????;
//save $return_value to DB.
How can I get the command return,
I just want store the result to Database.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire