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

iOS: Keep application running in background

How do I keep my application running in the background? Would I have to jailbreak my iPhone to do this? I just need this app to check something from the internet every set interval and notify when needed, for my own use.
Dennis
  • 3,506
  • 5
  • 34
  • 42
24
votes
2 answers

"Steam" added items that can run in the background

I'm now on MacOS Ventura 13.1. Recently, a pop-up window often appears on my pc. "Background Items Added" "Steam" added items that can run in the background. You can manage this in Login Items Settings. The first time when I saw this notification,…
propoba
  • 371
  • 2
  • 7
24
votes
4 answers

Run atexit() when python process is killed

I have a python process which runs in background, and I would like it to generate some output only when the script is terminated. def handle_exit(): print('\nAll files saved in ' + directory) …
Chan Jing Hong
  • 2,251
  • 4
  • 22
  • 41
24
votes
1 answer

How are each of the iOS background fetch UIBackgroundFetchResult types handled after the completion handler is called?

After your application completes its actions during a background fetch you must call the completionHandler block with one of the three UIBackgroundFetchResult states: UIBackgroundFetchResultNoData, UIBackgroundFetchResultNewData, or…
Jordan Mack
  • 8,223
  • 7
  • 30
  • 29
23
votes
5 answers

EventBus : Activity does not receive event when app is in the background

I'm using EventBus to communicate between Activity and Service. Today I got a problem and don't know why. I have Activity, Fragment and Service. All of them are working fine. In Activity and Fragment I registered them to Receive events which…
ThaiPD
  • 3,503
  • 3
  • 30
  • 48
23
votes
2 answers

How to run cordova plugins in the background?

Im making an application based on phonegap (cordova). I have tested it some times, and lately I saw a message in xcode that said "Plugin should use a background thread." So is it possible to make cordova plugins run in the background of the app? if…
22
votes
1 answer

Background timer task in JSP/Servlet web application

I want to retrieve from subscription and store feeds to DB from subscription after every 6 hours. I want to have a timer thread in background to accomplish this task. What's the best way? A normal timer thread or Quartz API?
MalTec
  • 1,350
  • 2
  • 14
  • 33
22
votes
1 answer

How to run Console Application in Background (no UI)?

Possible Duplicate: .Net Console Application that Doesn’t Bring up a Console I have a console application written in VB.NET that will become a scheduled task on a web server. It will run every ten minutes. The problem is that every ten minutes…
Josh Stodola
  • 81,538
  • 47
  • 180
  • 227
22
votes
1 answer

Detecting the call events in ios

I am new to ios. I was wondering if there is any way to detect the call events like incoming call, outgoing call even if my app is not in foreground. And if yes it is possible then can i read the details about that call like duration, whether it is…
21
votes
4 answers

Bash & (ampersand) operator

I'm trying to run 3 commands in parallel in bash shell: $ (first command) & (second command) & (third command) & wait The problem with this is that if first command fails, for example, the exit code is 0 (I guess because wait succeeds). The desired…
Misha Moroshko
  • 166,356
  • 226
  • 505
  • 746
21
votes
5 answers

iOS Voip Socket will not run in background

I am getting a VOIP socket to run in the background in an iOS application. My connection works fine, but it won't wake up when my app goes into the background. If I open the app back up, though, it responds to any messages it got while it was…
Joel
  • 1,110
  • 1
  • 9
  • 15
21
votes
4 answers

How to run BackgroundService on a timer in ASP.NET Core 2.1

I want to run a background job in ASP.NET Core 2.1. It has to run every 2 hours and it will need to access my DI Container because it will perform some cleanups in the database. It will need to be async and it should run independently of my ASP.NET…
19
votes
3 answers

Meaning of symbol ^ in Objective C

Possible Duplicate: Caret in objective C What does this ^ syntax mean in Objective-C? I am tired by searching the meaning of symbol ^ in Objective C. I have seen it in lot of projects especially in back ground running tasks. I will put a link…
rakeshNS
  • 4,227
  • 4
  • 28
  • 42
19
votes
3 answers

android notification in background if app closed?

I am trying to display a notification in the Android notifications bar even if my application is closed. I've tried searching, but I have had no luck finding help. An example of this is a news application. Even if the phone screen is off or the…
Noob
  • 2,857
  • 6
  • 33
  • 47
18
votes
3 answers

What are differences between JobIntentService and IntentService?

I do not understand what difference between those two APIs. I mean when to use the first one. Why is there JobIntentService ? Thanks in advance