background-task Questions

1

Solved

From a UWP application I start this background task: namespace Background.UWP { public sealed class BackgroundTask : IBackgroundTask { private WatchLoop _watchLoop; public void Run(IBackground...
Malayopolynesian asked 2/6, 2024 at 9:49

2

Solved

THE PROBLEM: I want to run a simple function, 5 seconds after app goes into background. I had to implement BGTaskScheduler, to support iOS 13. The old implementation for BackgroundTask works for m...
Solleret asked 23/12, 2019 at 11:58

1

I am trying to setup some BackgroundTasks to run some code periodically (say once every day) while the app is closed. I believe the BackgroundTasks API on swift is just for that? (Please let me kno...
Smutty asked 28/2, 2022 at 3:0

1

Solved

I am having a class to send notifications. When being initialised, it involves making a connection to a notification server, which is time-consuming. I use a background task in FastAPI to send noti...
Dunnage asked 24/5, 2023 at 10:20

1

Solved

I have the below FastAPI endpoint: @app.post("/abcd", response_model=abcdResponseModel) async def getServerDetails(IncomingData: serverModel) -> abcdResponseModel: """ ...
Granophyre asked 18/5, 2023 at 10:29

2

Solved

I'm making a server in python using FastAPI, and I want a function that is not related to my API, to run in background every 5 minutes (like checking stuff from an API and printing stuff depending ...
Rutharuthann asked 27/1, 2022 at 1:31

1

Solved

Recently I read something about this and the point was that celery is more productive. Now, I can't find detailed information about the difference between these two and what should be the best way ...
Sellars asked 20/11, 2022 at 14:2

1

Solved

I was trying to generate logs when an exception occurs in my FastAPI endpoint using a Background task as: from fastapi import BackgroundTasks, FastAPI app = FastAPI() def write_notification(messa...
Capstan asked 8/8, 2022 at 18:18

7

I've been trying to add an out of process background task to my project to update my App's live tile. The task needs to make a database call to get some data, then process that data to send out a f...
Garrot asked 18/5, 2018 at 7:7

2

Solved

I am using .NET 5 and I want to run a background task using IHostedService classess as you can see: public class PasargadJobs : IHostedService, IDisposable { private Timer _timer = null!; readonl...

3

I am trying to do some tasks in django that consume alot of time. For that, I will be running background tasks. After some R&D, i have found two solutions: Celery with RabbitMQ. Django Backg...
Prunelle asked 9/9, 2019 at 12:44

4

Solved

I am making a django application. To calculate the rank of the feeds based on lines and comment, I am trying to use django-background-tasks. the function I am using in nodes models is: @backgroun...
Alectryomancy asked 13/6, 2015 at 7:21

1

I’m running into the following problem with iOS 14.0 previously - with background location permission I could: Register for iBeacon region monitoring Kill the app from the app switcher Tap the scr...

7

I am new to Django and the django-background-tasks package. I am facing an issue that I couldn't do/start background task unless I forcefully run the command process_tasks , that is python manage....
Fosterling asked 18/12, 2016 at 4:59

3

I am trying to kill a background task that is in progress in m sonarqube. This task is doing a scan on a project.
Halter asked 23/11, 2017 at 23:13

9

Solved

I'm writing an application that requires background location updates with high accuracy and low frequency. The solution seems to be a background NSTimer task that starts the location manager's upda...

5

Solved

I am using core location framework inside my application and I set the location string in UIBackgroundMode or Required background modes(in Xcode 4.2) for getting the updated location from didUpdate...

1

I'm working on a .Net core solution that takes backup of storage files from another microservice and because this process takes too long time, we decided to build this routine under a background ta...

1

Solved

This code gives me the exception Exception thrown: 'System.TypeLoadException' in Unknown Module public sealed class SampleBackgroundTask2 : IBackgroundTask { EasClientDeviceInformation curre...
Rouse asked 19/2, 2019 at 5:27

1

Solved

I have implemented a BackgroundService in an ASP.NET Core 2.1 application: public class MyBackgroundService : BackgroundService { protected override Task ExecuteAsync(CancellationToken stoppingTo...
Jive asked 19/10, 2018 at 9:43

3

Good day. I have a very specific issue considering the Socket IO library for android and it's service. Important to mention that my device is huawei p8 lite which i am testing on. Here it goes : ...
Niveous asked 13/2, 2017 at 19:58

2

Solved

I'm working on a django application which reads csv file from dropbox, parse data and store it in database. For this purpose I need background task which checks if the file is modified or changed(u...
Jampacked asked 28/3, 2018 at 13:58

2

Solved

I know iOS allows background tasks to run and, for example, continue to receive location updates, but is it possible to do this in a watch app? In Xcode 9.3, I have configured my app for "backgroun...
Alcoholic asked 19/12, 2017 at 23:6

2

Solved

Sorry I am stuck, but I am trying to start background task (XCode8, swift 3) Example from here: https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide...
Tomikotomkiel asked 4/10, 2017 at 14:21

6

How I can prevent background task from running if there are foreground app being executed? Using Universal Windows Platform for my app. My background task is checking for new items on some site a...
Pretense asked 27/9, 2015 at 7:44

© 2022 - 2025 — McMap. All rights reserved.