Questions tagged [autostart]

A mechanism to start automatically a script or program as soon as the operating system or execution environment that executes it is ready.

In general terms, autostart is mechanism whereby a script or program is started automatically as soon as the operating system or execution environment that executes it is ready. The script or program to execute typically needs to be registered in some list of autostart programs.

A typical example of autostart feature is the , which starts a program on a medium as soon as the medium (such as CD or USB key) is inserted in the reading device.

Use this tag for questions about implementations of an autostart feature, or issues with autostarting a particular program.

507 questions
0
votes
1 answer

Do serviceAutoStartProviders run in combination with App_Offline.htm?

I've been looking at the 'Application Initialization' module for IIS 7.5 (which is baked in to IIS 8) and serviceAutoStartProviders which can be set to initialize services when an app loads up. I'm wondering what happens to serviceAutoStartProviders…
Remi Despres-Smyth
  • 4,173
  • 3
  • 36
  • 46
0
votes
1 answer

Autostart on top

I'm trying to make my application auto-start when phone starts and I'm using this code: public class BootUpReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { Log.i("DEBUG",…
Joterito
  • 153
  • 2
  • 15
-1
votes
2 answers

Exe working only if started manually but I want it to start automatically

I have done a simple VB application with this code: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim procName As String = Process.GetCurrentProcess().ProcessName Dim processes As Process() =…
-1
votes
1 answer

Synology DS120j autostart node.js server in deamon mode on system boot

How to start node.js server in deamon mode on Synology DS120j NAS (and other synology models if it's similar) drive since it looks that there is not systemd?
stopsopa
  • 408
  • 4
  • 20
-1
votes
1 answer

Raspberry Pi doesn't run script on autostart

I've tried to start a shell script on my Raspberry Pi 3. I wrote the path in rc.local. This worked for all other scrpits but not for the one below. I think the script starts (if I add a "sleep" the terminal opens after start) but doesn't work at…
ni28
  • 13
  • 4
-1
votes
1 answer

How to autostart this application during startup on Linux?

We have an application and to get that started we need to do steps each time the server gets security patches. I wonder if it is possible to start the application automatic each time the server boots. Currently we are doing this: Login in to the…
fabje
  • 29
  • 1
  • 7
-1
votes
1 answer

How can I add flags included in a shell script?

I want to put myScript.sh on autostart. I have set the configuration. chmod +x /etc/init.d/myScript.sh And enable it sudo update-rc.d /etc/init.d/myScript.sh defaults But when I run the myScript.sh I get an error because of the flag -bootRun.…
euraad
  • 2,467
  • 5
  • 30
  • 51
-1
votes
1 answer

How To Start Application when not running

I am running my node.js application exe file on windows 7/10 startup. It is working fine but some cases my exe stops working and is closed automatically. I want to create some scheduled job for checking whether my exe is running or not. If not…
-1
votes
1 answer

how to config autostart service[nginx] in a running docker container

my docker install my windows10 PC . the below step is which I created the container from the powershell window. docker run -p 80 --name web -i -t ubuntu /bin/bash #>apt-get update #>apt-get install -y nginx now, I found there are 2 questions when…
amazing
  • 39
  • 7
-1
votes
1 answer

Autostart permission programmatically

I am working on an app where I need to ask user for the autostart permission and for that I am opening the Autostart permissions settings page for the user to turn on the permission for our app using following code for few Manufacturers: Intent…
Kunal
  • 412
  • 5
  • 21
-1
votes
1 answer

is there any quick way to utilise an activity as a service

I have a ginormously huge activity whose primary task is to just upload audio files and images from some particular folders. but not, in short, it's needed to perform this in the background , as a service. I'm not looking for some step-by-step…
C Forge
  • 215
  • 1
  • 8
-1
votes
1 answer

Raspberry Pi boot script duplicating

I am trying to run a few scripts at each boot of the raspberry pi. I have been able to verify that when they are not configured to start automatically, I can run them, and they all work exactly as intended (and in only one instance). I have tried…
-1
votes
2 answers

Why won't Openbox autostart launch some programs?

I am trying to get some PyQt programs to launch automatically using the Openbox file /etc/X11/openbox/autostart. The Openbox autostart successfully launches the following example program: import sys from PyQt4.QtGui import * application =…
d3pd
  • 7,935
  • 24
  • 76
  • 127
-1
votes
1 answer

Automating autoruns-psexec or not

So i'm working on some project to find malware in my network.Trying to automate autoruns(sysinternals) in order to find anomalies or changes in startup on workstations.to do so i want to make daily reports for multiple workstations each day and…
Chechik
  • 11
  • 1
  • 7
-1
votes
1 answer

Open python file on computer login

Is there a way to run a python file when the computer wakes up, as in once you are logged in? I have not tried anything yet.
Queue21
  • 21
  • 6
1 2 3
33
34