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
1
vote
1 answer

getting a sh.exe for every background task

I am running about 30 processes in parallel started from a bash script using: /MyApp arg1 arg2 & Where /MyApp is softlink to c# executable. I notice in tasklist that there is a "sh.exe" for each MyApp I start. Is this expected? Or am I starting the…
ManInMoon
  • 6,795
  • 15
  • 70
  • 133
1
vote
1 answer

How to active application for video calling or chat using Quickblox iOS SDK?

I heard about iOS it self wouldn't allow an app to stay longer while its in background. I don't know exact minutes but how I can active my app to handle video / audio calls or for chat functionality. I'm using Quickblox iOS SDK for video/audio calls…
Hemang
  • 26,840
  • 19
  • 119
  • 186
1
vote
0 answers

Geotracking iOS app suspended on background

I'm writing this iOS app that contains geo tracking functionality. In my .plist, I have put UIBackgroundModes location too make sure the app is not suspended in the background. The…
Sjakelien
  • 2,255
  • 3
  • 25
  • 43
1
vote
2 answers

Background (Asynchronous) programming in Cocoa/Objective-C

I want something similar to C#'s BackgroundWorker. I want to execute a block code of code (irrespective of what kind of code it is. It could be networking, I/O, complex math operations, whatever) in the background while I animate a…
1
vote
2 answers

update a variable in background in bashrc

I would like the variable NUSERS='who | wc -l' to be updated every 2 seconds in order to display the number of connected users in the prompt with PS1='\u@\h-${NUSERS}:\w $' defined in the .bashrc file. I tryed: watch NUSERS='who | wc -l' &>/dev/null…
Jav
  • 1,445
  • 1
  • 18
  • 47
1
vote
1 answer

Report download progress to user interface

I am working on a project that extracts YouTube videos' audio and saves them to your computer. To do this, I used a library from GitHub called YouTubeExtractor. I am using a backgroundworker in order to make the UI usable while the file is being…
user2572329
  • 35
  • 1
  • 8
1
vote
2 answers

i need this PHP function run on background due to timeout error

I need to run this whole function in background, because it takes a long time to finish and so it's getting a timeout on cloudflare server. I tried more exec codes for run, but its need to get the $id with it then only it works on work.php. So i am…
BINFAS K
  • 246
  • 3
  • 11
1
vote
1 answer

Where should background job logic go

I'm using Rails and Resque but this is more of a design question about where the actual logic should go with background jobs. I have a class like this: class Ticket # 1) should method go here? end and a BG job like this: module Jobs class…
djburdick
  • 11,762
  • 9
  • 46
  • 64
1
vote
1 answer

How To Use AFNetworking On Background Thread?

I have an app currently using AFNetworking 1.0 to sync data from a REST Web Service. When the sync occurs currently by tapping a button on the UI it blocks the UI. I'm upgrading the app to use AFNetworking 2.0. How can I make the sync happen on a…
motionpotion
  • 2,656
  • 6
  • 42
  • 60
1
vote
0 answers

Better approach to do background processes using Sidekiq and MongoDB

I have a service that analyzes e-mails in a list. Each lists can contain 500 to 200,000 emails. The best way I found was to analyze these lists is using Sidekiq services background. It's working, but i don't think this is the best way to analyze…
1
vote
1 answer

Java Android : Architecture for background Sync and database management

I need to write code for an application that is like CRM (not exactly though) I need to get data from server in background and populate my tables. And update UI layer when I have new data/when sync finishes, I need to have a background service that…
Sourabh Saldi
  • 3,567
  • 6
  • 34
  • 57
1
vote
0 answers

WP How to resume background location-tracking

I have a question, I implemented the background location-tracking in WP8. The code just like: http://msdn.microsoft.com/en-us/library/windows/apps/jj662935(v=vs.105).aspx It work very well, but according to WP policy, if users don't interact with my…
1
vote
1 answer

where to implement network operation in android service or in background thread?

In my android application there is long network operation todo. 1.Is that good practice to move all network operation to service ? 2.IF I need to load/store data to file system, where to do this in service ? main thread ? background thread under…
1
vote
1 answer

Upload image/video to facebook asynchronously using php sdk 4

I am trying to upload video/image to facebook albumb using php sdk 4 asynchronously.I googled and found that php asynchronous call be sent using fsockopen. However, it is not working for facebook request. I have two files, one for checking login and…
1
vote
1 answer

Counter in background jobs

In the Parse Documentation on background jobs, there's an expression bothering me. if (counter % 100 === 0) { // Set the job's progress status status.message(counter + " users processed."); } counter += 1; Can somebody explain this…