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
13
votes
3 answers

Kotlin Coroutines - How to block to await/join all jobs?

I am new to Kotlin/Coroutines, so hopefully I am just missing something/don't fully understand how to structure my code for the problem I am trying to solve. Essentially, I am taking a list of strings, and for each item in the list I want to send…
SteveNikks
  • 193
  • 1
  • 1
  • 8
12
votes
3 answers

How can I list the scheduled jobs running in my database?

I am new to oracle. I need to get the scheduled jobs in my database. I queried DBA_SCHEDULER_JOBS, DBA_SCHEDULER_SCHEDULES, DBA_SCHEDULER_PROGRAMS, DBA_SCHEDULER_JOB_CLASSES, DBA_JOBS. But Oracle issues the error "ORA-00942: table or view does…
988875
  • 1,477
  • 3
  • 12
  • 12
12
votes
2 answers

Share files between azure pipeline Jobs

In the documentation of the Azure pipelines, I read that: Each agent can run only one job at a time. To run multiple jobs in parallel you must configure multiple agents. When you run a pipeline on a self-hosted agent, by default, none of the…
AnjK
  • 2,887
  • 7
  • 37
  • 64
12
votes
4 answers

Kubernetes can analytical jobs be chained together in a workflow?

Reading the Kubernetes "Run to Completion" documentation, it says that jobs can be run in parallel, but is it possible to chain together a series of jobs that should be run in sequential order (parallel and/or…
Kermit
  • 4,922
  • 4
  • 42
  • 74
12
votes
3 answers

Logging not working in laravel queue job

I have the below settings in my supervisor/conf.d/myconf.conf file : [program:my-worker] process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/artisan queue:work sqs --queue=my_queue_name --tries=3 --daemon …
12
votes
3 answers

Cron Job in Laravel

I am trying to develop a cron job for a command I have already created. I am completely new to cron jobs so I dont really know how it works. Trying the command by myself in the console works perfectly. All I need is to be able to execute it every…
Oliver Hoffman
  • 540
  • 1
  • 9
  • 22
11
votes
3 answers

How to use wmic job get/list in CMD to get process name and location?

I need to get the exact location of a process name that a scheduled job is executing. I want to use WMIC JOB (if you have any other suggestions.. let me know) to get that, but I don't know HOW exactly. I've tried several variations but no luck so…
user939034
11
votes
2 answers

BlockingCollection or Queue for jobs?

I am developing a windows forms application ( c# ), and while program is running, it creates objects adds them to a list. I have to process the items in the list , with FIFO ( first in first out ). I want to do this in a backgroundthread and i have…
syncis
  • 1,395
  • 4
  • 25
  • 43
11
votes
1 answer

Changing image of kubernetes job

I'm working on the manifest of a kubernetes job. apiVersion: batch/v1 kind: Job metadata: name: hello-job spec: template: spec: containers: - name: hello image: hello-image:latest I then apply the manifest using kubectl…
Riccardo
  • 1,490
  • 2
  • 12
  • 22
11
votes
2 answers

Laravel 5.7 jobs queue not running async

I'm trying to use Laravel 5.7 jobs queue to make some insertions/updates in my database and i problably made something wrong because when the job is called its seems to be blocking my application, therefore, not running asynchronously. My code is in…
Wall-E
  • 438
  • 1
  • 6
  • 18
11
votes
4 answers

List and kill at jobs on UNIX

I have created a job with the at command on Solaris 10. It's working now but I want to kill it but I don't know how I can find the job number and how to kill that job or process.
soField
  • 2,536
  • 9
  • 36
  • 44
11
votes
2 answers

How to create a scheduled job in SQL server 2008 via T-SQL?

I want to create a job which deletes records from a database after a period of time has passed. For example I have a field in news table Time Stamp and each month a SQL query runs like a scheduled job against my database and deletes news where the…
user2166535
10
votes
4 answers

How do I call Start-Job which depends on a function in the same powershell module as the function calling Start-Job?

I'm writing some powershell to talk to the AWS API, in a single module. I have written one function, Get-CloudFormation, which returns the status of a CloudFormation. I've written another function, Delete-CloudFormation, which after firing off a…
Peter Mounce
  • 4,105
  • 3
  • 34
  • 65
10
votes
4 answers

Decouple programs using queues

In his talk at the 54:53 minute mark, Rich Hickey is talking about the usage of queues as a mean to decouple dependent program parts. Can you give me an example on how to deouple the following piece of Java-pseudo-code in order to improve it's…
Matt
  • 17,290
  • 7
  • 57
  • 71
10
votes
1 answer

How to skip a configuration of a matrix with GitHub actions?

I have the following job on GitHub actions. And I would to like to skip the macOS x86 configuration: is there a way to do this? build-and-push-native-libraries: name: Build and push native library on ${{ matrix.os }} ${{ matrix.architecture…
JJB
  • 202
  • 4
  • 11