Questions tagged [reboot]

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

559 questions
0
votes
1 answer

Reboot under Win7 when C# program exits

I really need help on this. I have a C# program using .NET 4.0, a MySQL database and some DX code. Sometimes when the program exits, the computer reboots. I get no entries in the event log, have no idea what can cause the reboot. It happens on most…
0
votes
1 answer

How to reboot windows when RDP password equal some value

How to reboot windows (automatically) when RDP password equal some value? For example : Password for RDP == "hello_world". When user enter with this password Windows will work as usual. But if password == 'bye_world' Windows will reboot.
GIone hok
  • 69
  • 9
0
votes
1 answer

Shared preferences for button pressed state inside tabhost not working on reboot

Shared preferences inside tabhost not working for button pressed state. I am changing the background of the button on pressed state. But when I reboot(off and on) the phone the shared preferences is not saving the state. The variable …
Randroid
  • 3,602
  • 5
  • 27
  • 53
0
votes
1 answer

Registering a Phonestate receiver after rebooting

I have implemented a receiver like this (in the manifest file)
yasserbn
  • 391
  • 3
  • 18
0
votes
3 answers

Changing screen resolution on android devices without re booting

I tried changing the screen resolution in build.prop file in system, but it requires re booting. I need a solution for changing screen resolution on android devices without re booting. Thanks, Krishna
nits.kk
  • 4,781
  • 4
  • 24
  • 48
0
votes
2 answers

Reboot Android Device running 4.0

I have set permissions in the manifest: I call the following lines to reboot device: Intent intent = new Intent(Intent.ACTION_REBOOT); sendBroadcast(intent); Since I have root…
Roy Hinkley
  • 8,420
  • 18
  • 68
  • 112
0
votes
1 answer

Programmatically HotBoot (Hot Reboot) Android Device

I'm currently using this code to Reboot my Android Device: try { Process proc = Runtime.getRuntime() .exec(new String[]{ "su", "-c", "reboot" }); proc.waitFor(); } catch (Exception ex) { ex.printStackTrace(); } Now,…
Sheharyar
  • 65,583
  • 19
  • 152
  • 196
0
votes
3 answers

How to Wait till all files are deleted by my java function?

I am having a problem. I have a function to remove some files and then reboot the system. It contains a lot of files, so before the whole set of files are getting deleted, my reboot command is getting executed. How can I solve this in my Java…
Sen
  • 5,450
  • 9
  • 46
  • 76
0
votes
1 answer

How to continue the python script execution from the point it left before reboot

I want to write a test script in python which should reboot the system in between the test execution on local machine... (No remote automation server is monitoring the script). How the script execution can be made continuous even after reboot? The…
Abhishek Kulkarni
  • 3,169
  • 4
  • 28
  • 38
0
votes
1 answer

unable to connect apache server after reboot

I'm new to Linux I have an urgent Issue, I have an apache server, I had to reboot it but now I can't connect to it. Any Ideas? My code sudo reboot
Elad
  • 426
  • 1
  • 8
  • 19
0
votes
1 answer

Effect of redirects on reboot command

I'm running linux on a mips based system (specifically openwrt on a router). When I run the reboot (as supplied by busybox) i.e. just reboot on it's own, the system reboots, but some of the services (webserver, dhcp/dns, dsl stuff) don't start…
rhlee
  • 3,511
  • 4
  • 27
  • 35
0
votes
1 answer

Why I cannot start delayed_job daemon with crontab?

I have the following script for starting a delayed job worker in ruby on rails require 'rubygems' require 'daemon_spawn' $: << '.' RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) class DelayedJobWorker < DaemonSpawn::Base …
mottalrd
  • 4,020
  • 5
  • 20
  • 31
0
votes
3 answers

How do I execute commands before shutdown in Windows 7 (and before it kills all running programs?)

I have a batch file that starts a VirtualBox VM when windows starts and I'd like to have one that automatically saves the state of the VM when someone reboots or shuts down the machine. I can't use GPO because everything it does happens after…
5moufl
  • 11
  • 1
  • 5
0
votes
1 answer

reboot windows mobile 6.5 professional from c# application

I am using the following code to reboot the device from my c# application [Flags] public enum ExitFlags { Reboot = 0x02, PowerOff = 0x08 } [DllImport("coredll")] public static extern int ExitWindowsEx(ExitFlags…
0
votes
1 answer

Core data is lost when reboot iPhone device

I create an application that use two xcdatamodel file to save data. Everything works fine, the data can save and load successfully. But it is weird that when I reboot the device, data in one model is lost and another is still exists. It usually…
stevensei
  • 21
  • 1