background-process Questions

7

Solved

In my wpf (c#) application , a long process is performed when a button is pressed by the user. When button is pressed until the complete code executed the window freezes and user cannot perform any...
Legislator asked 14/3, 2013 at 12:37

5

Solved

I have an application that normally should be a simple console application to be programmed as a scheduled task from time to time called by the windows task scheduler. The program should launch som...

2

These are my two examples : let config = NSURLSessionConfiguration.defaultSessionConfiguration() config.HTTPAdditionalHeaders = ["Accept": "application/json", "Content-Type": "application/json",...
Gibbons asked 26/8, 2014 at 11:32

6

Solved

I have a Django application which I want to configure it celery to run background tasks. Packages: celery==4.2.1 Django==2.1.3 Python==3.5 Redis-server==3.0.6 Configuration of celery in setti...
Cargile asked 21/11, 2018 at 6:51

10

Solved

In linux you can use command & to run command on the background, the same will continue after the shell is offline. I was wondering is there something like that for windows…
Deliadelian asked 9/1, 2014 at 21:8

4

Solved

How can I run a shell script and immediately background it, however keep the ability to inspect its output any time by tailing /tmp/output.txt. It would be nice if I can foreground the process too ...
Ebberta asked 28/5, 2017 at 0:59

8

Solved

We are working with .NET Core Web Api, and looking for a lightweight solution to log requests with variable intensity into database, but don't want client's to wait for the saving process. Unfortun...
Rivulet asked 29/4, 2016 at 18:31

2

Solved

I am using Sidekiq for some of my background processes. Currently what I do is: start bundle exec rails s on one terminal and then start bundle exec sidekiq on a different terminal so that the s...
Urgency asked 9/10, 2012 at 4:47

1

Solved

I've been studying background execution in iOS. One of the methods is silent notifications. Silent notifications (aka background push) can be used to wake the app from suspended state and update co...

3

With Android 9 battery optimization has been pushed further and apps are classified into standby buckets depending on how much the user has recently interacted with the app (see Android documentati...

0

Requirement I would like to implement a Flutter app, which is: Triggered by a broadcast action ACL_CONNECTED on Android and then it Processes information about the connected device in Dart (Flutte...
Miscarriage asked 17/6, 2023 at 14:33

12

Solved

I am using the program synergy together with an ssh tunnel It works, i just have to open an console an type these two commands: ssh -f -N -L localhost:12345:otherHost:12345 otherUser@OtherHost sy...
Inflow asked 30/11, 2009 at 19:44

2

Dean Attali has provided a wonderful example on how to exit elegantly from a Shiny app using a close button which both closes the browser window and ends the Shiny session. Consider the following e...
Bul asked 21/10, 2020 at 11:55

4

Solved

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) ge...
Prosimian asked 29/11, 2016 at 13:0

2

Solved

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 thi...
Sawyer asked 23/12, 2022 at 9:27

5

Solved

I have created a script that moves files from one folder to another. But since the original folder is the Downloads folder I need it to always run in the background. I also have a standard Batch f...
Poppo asked 1/12, 2019 at 12:29

3

I need to add a native sticky background service in a flutter application, in order to achieve 2 things: Starting at boot time and running in background indefinitely Exchange data with the main Da...
Isallobar asked 8/2, 2021 at 20:24

1

Consider this trivial Go program, which demonstrates the standard way to "fork off" a background process in Go. When it's run, it should immediately send itself to the background where it...
Trierarch asked 19/12, 2022 at 18:34

4

Solved

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 ...

2

Solved

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 c...
Lawanda asked 13/3, 2014 at 14:47

9

Solved

I start a background process from my shell script, and I would like to kill this process when my script finishes. How to get the PID of this process from my shell script? As far as I can see varia...
Showplace asked 15/12, 2009 at 16:24

2

I need to run a background task through flutter workmanager but only when app is closed. How to achieve such a behavior. Code sample would be good. Thanks in advance
Aldos asked 10/1, 2021 at 22:36

3

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 framewo...
Tuppence asked 22/7, 2018 at 22:52

4

Solved

I am trying to run hangfire recurring job daily on 9.00 AM. Here is what I want to do- RecurringJob.AddOrUpdate(() => MyMethod(), "* 9 * * *"); Where should I put this line of code? Sorry if...
Pfeifer asked 3/4, 2018 at 10:33

4

Solved

My goal is simple: kick off rsync and DO NOT WAIT. Python 2.7.9 on Debian Sample code: rsync_cmd = "/usr/bin/rsync -a -e 'ssh -i /home/myuser/.ssh/id_rsa' {0}@{1}:'{2}' {3}".format(remote_user, ...
Tidwell asked 5/5, 2016 at 18:44

© 2022 - 2025 — McMap. All rights reserved.