I have a job scheduler on an windows instance at aws. The job runs a py script that at some point generates a random number using randint. This is a job running every 7 hours, and after a full cycle it begins to generate the same random numbers that it did frmo the first time it ran.
from random import randint
def randHosp():
return randint(1, 1442)
This is the function that returns the random number, just a simple call to the randint function.
I know that it generates the random number based on the time, is there a way i can change this ?