$slackNotify = function() use (&$info) { ... };
$schedule->command('Calc:RPI 1 2015')->cron('0 */2 * 8-12 *')
->withoutOverlapping()->sendOutputTo($this->path . 'rpi.html')
->after($slackNotify('My message here'));
Error: Argument 1 passed to Illuminate\Console\Scheduling\Event::after() must be an instance of Closure, string given, ...-> after() on Laravel artisan Расписание Команда с закрытием - это строка?
Почему думаю $slackNotify(...)
это строка?