Pari/GP, 4543 bytes
setrand(getwalltime) while(random%9random,print(1)) (Don't) Try it online! This version is very likely to time out on TIO; here's a slightly longer version that produces nicer results: Try it online!
Explanation
setrand(getwalltime) Seed the random number generator with getwalltime, which is "time in ms since UNIX Epoch."
while(random%9random,print(1)) While a large random integer, mod 9, in the range \$[0,2^{31})\$ is not equal to zero, print 1 with a trailing newline.