Questions tagged [jobs]

A job is a process executing in the background, or scheduled for later execution. **DO NOT** use this tag for career, employment, or hiring practice questions, as these are off-topic!

A job in a batch processing system is a task scheduled for execution. For questions related to scheduling jobs, see .

In a Unix/Linux context, a job is a process or group of processes running in a terminal, which can be placed in the foreground or in the background. See . For questions about job control with a shell such as bash from a user's perspective, see the jobs and job-control tags on Unix Stack Exchange.

Note that questions related to jobs as in work, career are off-topic on Stack Overflow. Some questions about this topic are suitable for Workplace Stack Exchange; be sure to read the faq.

2834 questions
3
votes
2 answers

Run job on ASP.NET website service start in IIS

I have some method that is invoked on Application_Start. And it starts on first page request by any user. But i have another application, dependent on that task that fires during Application_Start. So that if IIS/website is restarted- another…
0x49D1
  • 8,505
  • 11
  • 76
  • 127
3
votes
2 answers

How does one disable a 'schedule build' button for a job in Jenkins?

I have two jobs in Jenkins, one is chained to the other. The first Job compiles a project and stores a temp "archived" zip file. If the build job is successful the second job is triggered which copies the archived item from the first job to the…
haysclark
  • 1,080
  • 8
  • 16
3
votes
3 answers

Grails - Can Jobs be disabled using config.groovy

I'm wondering if there is a way to disable jobs using config.groovy or by some other means. I've seen posts where you can disable plugins via config.groovy, but haven't seen anything about jobs. I'd like to be able to either disable all jobs, or…
3
votes
0 answers

Build job on Jenkins pipeline returns a null objet when wait is set to false

I have a pipeline in Jenkins whose first stage is about triggering another job with the build function. I want to have the RunWrapper object back from the build function, but it returns a null object when the wait paramater is set to…
3
votes
1 answer

Create a cloud run job which shares code with a cloud run service

I see google cloud run now has jobs which is amazing! What I would like to achieve is to have a main container serving web traffic and also a job container which can be activated based on some business logic from the primary web service. The part I…
dendog
  • 2,976
  • 5
  • 26
  • 63
3
votes
0 answers

GitHub action - how to parameterize container image hostname

I have a GitHub action with a workflow that uses a container to run it, using a private docker registry (myhostname.com - see below). jobs: myjob: name: My Job runs-on: [ some-tag-on-runners ] container: image:…
Andrei Rînea
  • 20,288
  • 17
  • 117
  • 166
3
votes
1 answer

Does AWS Glue python shell job support Glue version 2.0?

We have Glue job with Type: 'Python Shell', Py version: 'Python 3.6', DPUs: '1/16', Glue version: '1.0'. How can i change the glue version from 1.0 to 2.0? Does AWS Glue python shell job even support Glue version 2.0?
3
votes
2 answers

Laravel, dispatchAfterResponse does not release frontend request

I am trying to implement async job in laravel, so I can send email (using 3rd party API), but let user go in the frontend so request doesn't wait for email to be sent. I am using Laravel 6.18. so I've created generic job with php artisan make:job…
uneasy
  • 547
  • 1
  • 7
  • 17
3
votes
1 answer

Using same instance of class using HangFire

I'm using hangfire to schedule a job that runs every minute. In the same class that i have the job to run there is a Queue that i need to acess and update it's internal values. The problem is everytime hangfire executes the job it uses a new…
3
votes
1 answer

Azure Devops scheduled pipeline does not trigger

I have the following configuration: Azure DevOps Server Version Dev18.M170.8 trigger: none # No CI build pr: none # Not for pull requests schedules: - cron: "* * * * *" displayName: Every minute build branches: include: - master …
XMight
  • 1,991
  • 2
  • 20
  • 36
3
votes
0 answers

Indeed XML Feed Status Check

Am trying to integrate indeed and post jobs through XML feed in laravel (6). I followed the indeed official documentation which linked below https://techdocs.indeedeng.io/direct-employer-integration-with-indeed As per the documentation I did the…
Abdul Hakeem
  • 405
  • 4
  • 11
3
votes
4 answers

Bash jobs in the background

Is there a way to allow a background job in bash to modify variables? for ex: [bash]# a=1 [bash]# a=2 & [1] 14533 [bash]# echo $a 1 I'd like the value of a to be 2 not 1
user854270
3
votes
1 answer

'System.ArgumentNullException' in Hangfire

I guess here several problems, the main it's hangfire throw this exception when the application starts. Exception thrown: 'System.ArgumentNullException' in Hangfire.SqlServer.dll. The application still running but it's not good for sure. And the…
Yaroslav
  • 358
  • 3
  • 14
3
votes
3 answers

MapReduce or a batch job?

I have a function which needs to be called on a lot of files (1000's). Each is independent of another, and can be run in parallel. The output of the function for each of the files does not need to be combined (currently) with the other ones. I have…
3
votes
1 answer

spring-boot-starter-quartz implements job vs extends QuartzJobBean

I'm using Quartz Scheduler in one of my projects. There are two main ways to create a Quartz job: implement org.quartz.Job class extend org.springframework.scheduling.quartz.QuartzJobBean (which implements org.quartz.Job class) The last part of…
soung
  • 1,411
  • 16
  • 33