Using sendOutputTo when planning tasks , we can save the output of the task in a file:
$schedule->command('test')->everyMinute()->sendOutputTo(storage_path('test'));
But I do not want to store only the last performance, I need a magazine. How can I register the release of a scheduled task in a single file?
source
share