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

Android: BroadcastReceiver won't listen to BOOT_COMPLETED

My app pushes a daily notification (this is working correctly) but after a device reboot notification won't fire again. I'm trying to set a BroadcastReceiver that listens to BOOT_COMPLETED to no avail. AndroidManifest.xml:
Diego Perez
  • 2,188
  • 2
  • 30
  • 58
6
votes
1 answer

chmod after reboot -> Permissions change

I'm working on Ubuntu 14.04 and I make chmod +x to a file, but, when I reboot the computer, the permissions change. How can I make to put chmod permanent?
PRVS
  • 1,612
  • 4
  • 38
  • 75
6
votes
1 answer

Does iOS start app in background after reboot if remote-notification defined in UIBackgroundModes and new push notification comes?

I have an iOS7 app which registers for background mode remote-notification: UIBackgroundModes remote-notification It works fine before reboot and app gets this event while in…
6
votes
1 answer

Measure long elapsed time (with reboots) on Android

I need to measure long elapsed time on Android and there may be device reboots in between. From what I've understand, System.nanoTime() is resetted every time the device reboot, and System.currentTimeMillis() is unreliable because user can change…
dmarcato
  • 872
  • 8
  • 16
5
votes
4 answers

Android phone reboots on uninstall

I am developing an app and when I uninstall the phone kind of semi-reboots. This is my old post: I have a strange problem with my phone. I am using SAMSUNG GALAXY 5 (GT-I5500) with Android 2.2 on it (not rooted). I am an android developer and I…
Norbert
  • 347
  • 2
  • 4
  • 12
5
votes
1 answer

What is the simplest way to reboot after a Setup Project installation completes?

I hate to ask this question as I am aware that there are plenty of questions about it already, some coming very close to what I am wanting to do: Reboot system from Setup project prompt to reboot computer after installation completed The first one…
identitycrisisuk
  • 906
  • 1
  • 9
  • 15
5
votes
3 answers

Tomcat Web Application - storing objects as user-defined objects or simple IDs to persist user sessions through server reboot?

Let's say we have a web application backed by a servlet engine/container like Tomcat. A user logs in. The database record for that user (represented by an instance of class User, let's say) is loaded, and we can store this as a session attribute…
n00b
  • 167
  • 1
  • 2
  • 8
5
votes
7 answers

How do I detect if a Windows server is available after a reboot?

I want to automate a Windows 2000+ server reboot process using Task Scheduler or similar tool to remotely reboot a server and wait for it to come back up. I can issue shutdown or psshutdown to remotely reboot, but I want something better than sleep…
spoulson
  • 21,335
  • 15
  • 77
  • 102
5
votes
3 answers

Get date/time of last reboot programmatically

I would like to find the time of the last reboot programmatically in Linux. I am using C and C++ in my module. Is there an API?
cateof
  • 6,608
  • 25
  • 79
  • 153
5
votes
6 answers

Why does my app throw an `android.permission.REBOOT SecurityException`?

I wrote an Android app that uses android.os.PowerManager.reboot(), and I added in my AndroidManifest.xml. However, when I run the app, it always throws the following…
oscar
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

Adding .NET App to Registry to Launch after Reboot to Complete Certain Actions

If my app needs to reboot the system to change something and I'd like it to automatically continue its actions after the reboot, how can I add a key to the registry (more importantly, where in the registry) to launch the app on the first reboot?…
Maxim Zaslavsky
  • 17,787
  • 30
  • 107
  • 173
5
votes
3 answers

How can I use ansible playbook to reboot a ubuntu server?

I am trying to build an ansible playbook to configure a ubuntu vagrant box. The playbook is pretty much working with the exception of controlling the ubuntu box reboot after upgrading the kernel. I have a host file for ansible as follow : localhost…
Raymond
  • 753
  • 7
  • 11
5
votes
2 answers

adb reboot not working

I am using linux op and installed android sdk. I have created a android emulator. I open the android emulator and type adb reboot, the emulator hangs and nothing happens in the command prompt. It looks like it hangs is there any verbose option to…
Santhosh
  • 9,965
  • 20
  • 103
  • 243
5
votes
1 answer

reboot linux from a program

This question has been asked before: How to restart Linux from inside a C++ program? However, none of the answers seem to work for me. Here's my problem: I have a program on a piece of hardware. I can log in as root and run it without any issues.…
H_squared
  • 1,251
  • 2
  • 15
  • 32
5
votes
2 answers

Multiple font Not working at time in application

Friends, Running out in a strange issue. I want to use two font (Gujarat & Hindi) in same applicaion. Here is process of install fonts in device Needed root device. Install Font Installer App Download Lohit-Devanagari.ttf & Lohit-Gujarati.ttf…
Niranj Patel
  • 32,980
  • 10
  • 97
  • 133