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
5
votes
1 answer

Linux reboot() system call: why it calls do_exit(0) after kernel_halt()?

This is related to: https://stackoverflow.com/a/13413099/1284631 Now, the question is: Why the reboot() system call, when called with LINUX_REBOOT_CMD_HALT parameter (see here: http://lxr.linux.no/linux+v3.6.6/kernel/sys.c#L480) is calling…
user1284631
  • 4,446
  • 36
  • 61
5
votes
2 answers

Set hwclock to UTC on linux

how do i set my hwclock on centos to UTC time permanently.The value changes from UTC to localtime on reboot.This is causing my application to have time drift./etc/sysconfig file UTC value also toggles from true to false after reboot.
krupa kn
  • 51
  • 1
  • 1
  • 2
5
votes
4 answers

bash/cygwin/$PATH: Do I really have to reboot to alter $PATH?

I wanted to use the Python installed under cygwin rather than one installed under WinXP directly, so I edited ~/.bashrc and sourced it. Nothing changed. I tried other things, but nothing I did changed $PATH in any way. So I rebooted. Aha; now…
behindthefall
  • 1,485
  • 1
  • 17
  • 18
5
votes
1 answer

In Windows 7 script, how can I determine if current system shutdown is actually a reboot?

I use the Group Policy Editor which is part of Windows 7 (also of Windows XP) to run a so-called shutdown script, which will automatically be executed each time the system is shutdown or rebooted. My problem is: I need to know in my script if the…
Erik
  • 2,316
  • 9
  • 36
  • 58
4
votes
3 answers

AppWidget ID's lifetime

I have an application with some AppWidgets. I'm storing some information about every widget including its appWidgetId inside a database - I need this information to properly update every widget. The problem is that after the device is rebooted I…
Egor
  • 39,695
  • 10
  • 113
  • 130
4
votes
2 answers

Why widget does not work after reboot?

I have this simple widget and when I click on it, it should open my activity, it works, but it doesn't work after reboot. I must delete and then again add widget to my homescreen, because when I click on widget widget doesn't respond and doesn't…
Adam
  • 2,152
  • 4
  • 35
  • 45
4
votes
4 answers

How to force a reboot instead of shutdown (XP)

I have a Windows XP SP2 virtual machine which can be accessed via VNC. It's also running Deep Freeze so there should be no problem in forcing it to reboot. I am looking for a way to force the operating system to reboot instead of shutting down or…
Tom
4
votes
1 answer

Wear OS - How to automatically start app on device restart

I've created a Wear OS app. It has a service running in the foreground. I need to have the app always executing. When I restart the watch the app doesn't start executing again. How can I automatically relaunch the app? It's my first app for Wear OS…
lmano
  • 41
  • 1
4
votes
0 answers

Busybox reboot has no effect on buildroot Linux

I run an Embedded Linux system, which is created with Buildroot 2021.02.2 and has BusyBox v1.33.0, Linux 5.4.8, glibc 2.32. When I run # reboot It does nothing, and there is no error or warning in syslog. However, when I run with -f force option,…
Filip Kubicz
  • 459
  • 1
  • 5
  • 17
4
votes
1 answer

What will happen to Scheduled notifications after the device Reboots?

I was trying to find an exact answer for the question: "what will happen to my scheduled notifications after the device is rebooted?". I've used the UNUserNotificationCenter to schedule all the notifications and they will be triggered repeatedly on…
4
votes
2 answers

iPhone Project Not Running (more than once)

I have an iPhone app that I'm trying to run on my phone via Xcode. It installs and runs without an issue I make a change in the source code (negligible, like an NSLog()) It installs without an issue Running causes the error: Error Starting…
Patrick Perini
  • 22,555
  • 12
  • 59
  • 88
4
votes
2 answers

Remote MSMQ connection apparently lost problem when MSMQ server reboots

I am connecting to a remote MSMQ within a Windows Service, and doing a BeginReceive as follows: msmq.ReceiveCompleted += new ReceiveCompletedEventHandler(Process); msmq.BeginReceive(); The Process method gets the message and calls EndReceive like…
Zarek
  • 939
  • 3
  • 13
  • 21
4
votes
4 answers

Re launch JVM with bigger heap space

I want to be able to execute the .Jar file, and if the heap space isn't set big enough, it should launch a new JVM with the same .Jar file, but set with a bigger heap space, and then close the first JVM and .Jar. I've tried using the ProcessBuilder,…
4
votes
1 answer

How to reboot Mac OS from C++

Possible Duplicate: Restart Mac OS X ungracefully using a C++ call? All, I am trying to reboot a Mac from my code. I find no such thing on the web. Has anyone done that?
reza
  • 5,972
  • 15
  • 84
  • 126
4
votes
3 answers

Windows Installer-Avoid FileinUse dialog box when Installing a package

When ever there is an update patch of files that have to be replaced with the existing files and if one of the files is being used by any of the processes, then a file in use dialog box pops-up.I wanna avoid that dialog box and get that file queued…
teja
  • 69
  • 1
  • 10