Nov-27-2022, 06:34 PM
(This post was last modified: Nov-27-2022, 07:23 PM by cosmin1805.)
Hello, I am trying to shutdown and reboot my LINUX devices from a python script that runs in a docker container, this code I was using pre-dockerizing the script is not working anymore, how can I solve this?
os.system("shutdown now") os.system("reboot now")