Questions tagged [background-task]

677 questions
8
votes
4 answers

how to use django-background-tasks

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: @background(schedule=60) def get_score(self): p…
Rohit
  • 475
  • 1
  • 7
  • 16
8
votes
5 answers

Will ios terminate the app running in background after a specific time?

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 didUpdateToLocation method when app is running in background…
iosuser
  • 125
  • 1
  • 3
  • 10
7
votes
7 answers

Adding UWP Background task causes AppManifest errors

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 few tile notifications. I've managed to get it to…
Flippey
  • 91
  • 1
  • 8
7
votes
1 answer

Windows Phone background task stops prematurely

I'm developing a WP8.1 SL app which uses background tasks (not agents!). My task is triggered by a TimerTrigger - once every 30 minutes (which I believe is the minimum interval for Windows Phone, right?). It is doing a lot of work, and for some…
yasen
  • 3,580
  • 13
  • 25
6
votes
3 answers

Django Background tasks vs Celery

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 Background tasks. Both options seem to fulfill the criteria…
Bolshoi Booze
  • 466
  • 8
  • 22
6
votes
3 answers

How to cancel a Task in SonarQube that is In Progress?

I am trying to kill a background task that is in progress in m sonarqube. This task is doing a scan on a project.
6
votes
1 answer

Send silent push notification to app, update location and send to server in background

I want to send a silent push notification to an application that is in background, then fetch the current user location and send it to a web service. I implemented push notification methods and also those two: - (void)application:(UIApplication…
ytpm
  • 4,962
  • 6
  • 56
  • 113
5
votes
0 answers

BackgroundTasks and BGTaskScheduler on SwiftUI not firing

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 know if I'm mistaken). I followed the article here on…
BlueStarXD
  • 73
  • 6
5
votes
0 answers

Flutter background task in iOS crashes app

In release mode, when I run my app, if I have the app in the background for around 30 seconds and bring the app to the foreground I get the error-log: 2020-07-24 23:12:14.473633+0200 myTest[11229:3284265] Could not signal service…
jeffmayn
  • 1,785
  • 2
  • 9
  • 22
5
votes
1 answer

Does anyone know how to solve with BackgroundTask issues in swift?

I am using background task inside my app after updating my iPad to iOS 13 my application issuing this: Can't end BackgroundTask: no background task exists with identifier > 13 (0xd), or it may have already been ended. Break in…
5
votes
2 answers

How can I execute a heavy-processing, background python code after submitting a form in a Django website?

I have a conceptual question regarding background tasks in Django. I am running a Python/Django site through PythonAnywhere. I have a webapp called "databooks" which is comprised of a form that has the following entries: Databook Name Folder…
JcoOnline
  • 243
  • 2
  • 13
5
votes
1 answer

Javascript background loop

Say we have a loop.js file: longLoop().then(res => console.log('loop result processing started')) console.log('read file started') require('fs').readFile(__filename, () => console.log('file processing started')) setTimeout(() => console.log('timer…
grabantot
  • 2,111
  • 20
  • 31
5
votes
1 answer

iOS background task using NSURLSessionDataTask

I have flight search feature in my application which is taking too long to get the data (more than 25 seconds). if application goes background or went to sleep mode, internet connection get disconnected. I have written below logic using apple…
Jay
  • 153
  • 2
  • 13
5
votes
2 answers

UWP Httpclient postasync in background task with json string

I would simply like to post some json to an api from a background task in my UWP app and get back the response to read it out. My background task is constantly failing with Platform::DisconnectedException ^ at memory location 0x077FEE74. I tried…
SunnySonic
  • 1,318
  • 11
  • 37
5
votes
1 answer

UWP Background Task Error

I want create a Background task which starts when the application starts. For that I use Application Trigger. MainPage.xaml.cs var trigger = new ApplicationTrigger(); …
1
2
3
45 46