Questions tagged [background-process]

A background process is a computer process that runs "behind the scenes" (i.e. in the background) and without user intervention. Typical tasks for these processes include logging, system monitoring, scheduling, and user notification.

A is a background-process.

3176 questions
50
votes
3 answers

What is the Xcode "Background Processing" Background Mode?

In Xcode 11, there is a new Background Mode, "Background Processing". I cannot find any information on what this new Background Mode does. Are there any resources with that information? This mode can somehow effect application that is using…
phnmnn
  • 12,813
  • 11
  • 47
  • 64
49
votes
7 answers

Run app for more than 10 minutes in background

I am trying to keep the iOS app in active state for more than 10 mins when it enters in background state. How can I implement this.
user968597
  • 1,164
  • 2
  • 15
  • 30
47
votes
7 answers

Job Scheduler vs Background Service

I have an app which has a feature A which should run in background every minute. Feature A is that the app should connect to a database, read some data then get the current location of the device and based on them check a condition, if the condition…
44
votes
3 answers

ASP.NET Core IHostedService manual start/stop/pause(?)

I would like to implement a recurring (timed) IHostedService instance in ASPNET Core that can be stopped and started on demand. My understanding is that IHostedService(s) are started by the framework on application startup. However, I would like…
K. Akins
  • 657
  • 1
  • 7
  • 12
44
votes
3 answers

How does the web version of Whatsapp work on iOS devices considering the OS shuts apps in 30 seconds?

Now for those who don't know, can go to https://web.whatsapp.com/ and sync your Whatsapp chats by exchanging a QR code and chat via the web extension of the app. I am not interested in how they have an initial handshake( might be communicating with…
rahulg
  • 2,183
  • 3
  • 33
  • 47
44
votes
3 answers

Healthkit background delivery when app is not running

Can HealthKit background delivery launch the application if is not running? Particularly in a terminated state?
Ujjwal Khatri
  • 716
  • 1
  • 6
  • 19
42
votes
2 answers

Spawn a background process in Ruby

I'm writing a ruby bootstrapping script for a school project, and part of this bootstrapping process is to start a couple of background processes (which are written and function properly). What I'd like to do is something along the lines…
Dave DeLong
  • 242,470
  • 58
  • 448
  • 498
42
votes
6 answers

How to use beginBackgroundTaskWithExpirationHandler for already running task in iOS

In my app, I am uploading images to server from iPhone. While sync if user press home button, App will close. I want app must be running in background till sync finish. My question is: How can I add currently running task with…
Vardhan
  • 965
  • 2
  • 11
  • 21
41
votes
10 answers

PHP Background Processes

I'm trying to make a PHP script, I have the script finished but it takes like 10 minutes to finish the process it is designed to do. This is not a problem, however I presume I have to keep the page loaded all this time which is annoying. Can I have…
zuk1
  • 18,009
  • 21
  • 59
  • 63
39
votes
7 answers

Message Queues in Ruby on Rails

What message queues are people using for their Rails apps and what was the driving force behind the decision to choose it. Does the latest Twitter publicity over their in house queue Starling falling down affect any existing design decisions. I am…
nitecoder
  • 5,496
  • 1
  • 28
  • 35
38
votes
6 answers

How to stop backgrounddownload exe

As per attached screen shot BackgroundDownload.exe is running in background and consuming lots of internet data. How it can be stopped?
ramya
  • 2,350
  • 6
  • 31
  • 57
38
votes
4 answers

How to create a Flutter background service that works also when app closed

I am developing a Flutter app for academic purposes in university. Now, I need to run a sort of "always on" background service in order to use Bluetooth and most importantly to get periodic updates from external REST APIs. I've already checked those…
docdev
  • 943
  • 1
  • 7
  • 17
38
votes
6 answers

How to keep an iPhone app running on background fully operational

first of all, I know there is only support for voip, audio and location apps to run in background and that they will run just while the audio is been played or while using location services, etc. What I want to know is if there is a way to keep my…
Paul N
  • 1,901
  • 1
  • 22
  • 32
37
votes
4 answers

Execute task every second using Work Manager API

Work Manager is a new API and I try to execute task every second, but it doesn't work. This is my worker class class TestingWorker : Worker(){ override fun doWork(): Result { Log.i("CheckWorker","Result here") return…
36
votes
5 answers

Need code example on how to run an Android service forever in the background even when device sleeping, like Whatsapp?

I have tried various ways to achieve this, but my service eventually gets killed. I want to use AlarmManager to trigger a class every one hour. Even if the device is sleeping, it should sent a flashing LED alert, vibration or sound. In any case, it…
zeeshan
  • 4,913
  • 1
  • 49
  • 58