Reputation: 3665
I've searched around and I cannot find the answer.
So, is there a way to check if the custom Laravel command that we have started still running, or it has finished it's job?
Upvotes: 3
Views: 3697
Reputation: 13811
You can always log information into the log files when running certain commands that you wish to confirm ran or not.
You can place the log code directly inside your command's handle method.
public function handle()
{
// Handle some command logic...
Log::info('This is some useful information about the command that just ran its course.');
}
Upvotes: 1