Operating system type and version: AlmaLinux v8.9.0
Description
After upgrading Crunz to the latest version, contents of my task (everything enclosed in $scheduler->run(function () {) were no longer triggered.
The file itself was triggered, which could be verified by placing a debug statement in the file somewhere, e.g. right after the $scheduler = new Schedule(); line
How to reproduce
$scheduler = new Schedule();
// E.g. sending a mail here does work
$task = $scheduler->run(function () {
// Any code here does not get triggered
});
$task
->description('Example description')
->preventOverlapping()
->everyMinute();
return $scheduler;
Crunz version: 3.7.0
PHP version: 8.2
Operating system type and version: AlmaLinux v8.9.0
Description
After upgrading Crunz to the latest version, contents of my task (everything enclosed in
$scheduler->run(function () {
) were no longer triggered.The file itself was triggered, which could be verified by placing a debug statement in the file somewhere, e.g. right after the
$scheduler = new Schedule();
lineHow to reproduce