import os
print "REBOOTING"
os.system("shutdown -t 0 -r -f")
The above code is a restart script. I would like to ask whether python can support loop restart. (Automatically restart 100 times).
Thanks!
import os
print "REBOOTING"
os.system("shutdown -t 0 -r -f")
The above code is a restart script. I would like to ask whether python can support loop restart. (Automatically restart 100 times).
Thanks!