Am trying to shutdown and boot it again the Linux system using python language or shell script. can anyone clarify me in this ? even crontab is also okay
shell
reboot
python
import os
os.system('reboot')
Note: You need root permission to do reboot operation.
You should take some time to learn Linux basic concepts
first.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With