Questions tagged [reboot]

Reboot is a Unix command to restart the operating system. It is also a generic term for restarting any operating system.

604 questions
-3
votes
1 answer

Why can't the Python script be executed during reboot?

The simple Python script /home/debian/project/del_video.py works fine: #!/usr/bin/env python3 # -*- coding:utf-8 -*- import os import time today = time.strftime("%w",time.localtime()) video_dir = '/home/ftpuser/ftp_dir/upload/6J078DEGAG56788' if…
showkey
  • 482
  • 42
  • 140
  • 295
-4
votes
1 answer

ubuntu reboot & shutdown command with password

I am writing a program in Java to shut-down the Ubuntu server. echo password | sudo -S shutdown -h now sudo -p 'password' shutdown -h now either of the commands didn't work. I need sudo command for shut-down and reboot my server by passing…
MAHI
  • 9,263
  • 11
  • 36
  • 47
-5
votes
1 answer

How to restart the server?

I have reboot the server (in which there is a VM with linux). The problem is that after the reboot (I've used the sudo reboot -h now command) the system doesn't go. So when I try to open it by terminal it returns: ssh: connect to host x.x.x.x port…
ChiaraM
  • 65
  • 1
  • 10
-8
votes
1 answer

How to resume a script in Python after system reboot?

Need to save the script state before reboot and then on resume, i need to start the script from the point it was left. Mine is a Windows 2k12 System on a Dell R710 Server. What I have done so far is: Pickled the step number before which I need to…
Ai_Nebula
  • 39
  • 9
1 2 3
40
41