What does the random(1, 6) means in laravel scheduling? [duplicate]

This is a basic php function – https://www.php.net/manual/en/function.rand.php

It gets a pseudo-random integer from 1 to 6, and if the random number is less than 5 the code is run.

Leave a Comment