There is a cron script on which the function is executed
Generate(17, "test",3,1 , int(rand(3)+1));
The final argument is a random number, which is already passed to the function itself. How to write the argument so that the number from one to three is transmitted alternately, each time this script is executed on the crown?