CRON
In the CRON tab in the Streply app, we will display all commands marked as "CRON command" divided into the selected times. It's an easy way to see which CRON jobs were executed or which jobs failed.
If you use one of our official libraries for frameworks (for example Laravel or Symfony), Streply will catch CRON commands automatically.
But of course, you can do it manually:
<?php
use Streply\Enum\EventFlag;
// ...
\Streply\withScope(function (\Streply\Scope $scope): void {
$scope->setFlag(EventFlag::COMMAND);
\Streply\Activity('test.command');
});