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
7
votes
6 answers

PM2 - Autostart on Raspbian (Raspberry Pi) does not work

Ok guys, this is driving me nuts... Can't get my nodejs application to autostart@boot on a raspberry pi... Machine: Raspberry 2 (Raspbian Jessie) Tried almost every possible solution I found on Google. This is what I've ended up with: Installed…
Sascha
  • 581
  • 1
  • 4
  • 19
7
votes
3 answers

How to programmatically enable Autostart option for my app in MI 4i security APP?

For check screenshot and detail, click here Please give related suggession or code for how to add automatic enable auto start for my app , please check here attached screen shot thanks in advance.
7
votes
1 answer

Raspberry Pi program delay

I use Raspberry Pi to display web page automatically at startup. The issue is : As soon as the raspberry is started, Midori is launched, but I've the message "Cannot Resolve Hostname....". When I update the webpage 30 seconds after startup, it is…
gloops100
  • 159
  • 2
  • 2
  • 11
7
votes
4 answers

write python script that is executed every 5 minutes

I need to write a python script that autostarts on boot and is executed every 5 minutes on a raspberry pi. How can this be done? in particular, how can I avoid having a script locking up the cpu running a infine loop waiting for the 5 minutes to be…
user2452250
  • 777
  • 2
  • 11
  • 26
7
votes
2 answers

How to set (wrap: 'circular') (loop) in “auto scroll” plugin in the new version of jCarousel (3.0)?

How to set (wrap: 'circular') (loop) in “auto scroll” plugin in the new version of jCarousel (3.0)? I want the items too loop without stop as in previous version of jCarousel. http://sorgalla.com/jcarousel/ Any kind help would be highly…
Kardo
  • 1,658
  • 4
  • 32
  • 52
6
votes
0 answers

Prevent automated starting of Android app due to “machine learning” (Samsung's PkgPredictorService)

I am the developer of an app and it's available and working well since about two years. Only on recent Samsung devices the app gets randomly started by the system after the user closed it via its exit button. This exit button stops all services and…
Martin L.
  • 3,006
  • 6
  • 36
  • 60
6
votes
0 answers

How to check AutoStart option is already on for my App in Xiaomi phone Security App programmatically in android

I can open AutoStart intent for my app with following code...... try { Intent intent = new Intent(); String manufacturer = android.os.Build.MANUFACTURER; if ("xiaomi".equalsIgnoreCase(manufacturer)) { …
Saiful Islam Sajib
  • 2,243
  • 1
  • 12
  • 17
6
votes
4 answers

What type of application that allowed to auto-start in iPhone?

i wonder what type of application that are allowed to be started in the background/foreground when the iPhone boot , and are they limited to iOS 4 ?
Jimmy
  • 10,427
  • 18
  • 67
  • 122
6
votes
1 answer

How to check if the program is run from an autostart?

Is there any way in C++ to check if my program is launched by a user or from an autostart? I want to show / not to show window in these cases.
Kaznov
  • 1,035
  • 10
  • 17
6
votes
2 answers

Debian Start Qt GUI application with no desktop

I have Debian 2.6 running on a SBC that I plan on using in an embedded setup. What I need to do is configure it so that linux will start up and run just my Qt GUI application. Do I need a window manager to do this or can I just do it with X11. Also…
Yordikins
  • 63
  • 1
  • 1
  • 3
6
votes
0 answers

permission from Asus( autostart manager ) ,miui (security center)

Is there any way to take permission from Asus( autostart manager ) ,miui (security center) programmatically ? As these apps disable auto start feature of an app
5
votes
6 answers

JAR installer that auto-detects if Java is there and autostarts the application

I need to build an installer that does the following: Installs my jar on the client. Auto-detects if JRE is installed (in which case it does not re-install it), otherwise installs it without the user clicking on another button. Auto-starts the…
rajats9999
5
votes
0 answers

Automatically run shell commands in Xampp

I am very new to using XAMPP. I have configured in my settings for XAMPP to start automatically during windows start up. Normally in my shell in XAMPP, i do this command always cd users/documents/myapp users/documents/myapp: php artisan serve Is…
Switz
  • 453
  • 1
  • 7
  • 21
5
votes
4 answers

Controlling start up sequence of a windows service

I have a windows service installed using installutil and set to "Autostart". My problem is that when some servers are rebooted it attempts to start before "Microsoft SQL service" has started- I can see this by looking at the event log during a…
Bijimon
  • 322
  • 1
  • 5
  • 8
5
votes
2 answers

How to autostart windows service after install by sc?

I created a batch file for installing service because I need to install my service on PC don't have Visual Studio. Content of batch file: @echo OFF echo Installing service... sc create "MyService" binpath= %~dp0\MyService.exe start= auto echo…
Fox Vĩnh Tâm
  • 150
  • 1
  • 2
  • 15
1 2
3
33 34