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
0
votes
0 answers

Stopping cron job before new code version release

I have a cron running and wanna know what ways I have to release new version of it without impacting any execution of the cron while deploying the changes. I am using node-cron library (but my question is agnostic of the underlying library tbh) and…
0
votes
2 answers

Searching for a specific JOB by the procedure it calls

Is it possible to search a JOB by the code it executes? I.E. I want to find the JOB that launches a certain stored procedure. Is there a query to do it?
Revious
  • 7,816
  • 31
  • 98
  • 147
0
votes
1 answer

Running Selenoid on Jenkins Docker image

I have Jenkins installed in Docker container by the following guideline https://www.jenkins.io/doc/book/installing/docker/ I am also trying to install Selenoid image in Jenkins using the pipeline pipeline { agent any stages { …
Sundel
  • 1
  • 1
0
votes
1 answer

When running a queue job in laravel to send email, two processes are generated, how to resolve this and keep only one?

When sending an email with queue job in laravel, it creates two processes, why? Is there a way to fix and keep only one? Is there any function that does this? for each dispatch, a single process. Controller public function sendMail() { $email =…
0
votes
1 answer

Prevent parallelization of jobs in Jenkins

I am faced with the task of automating the build and test process for 4 software products in Jenkins. As many steps as possible should run in parallel. The build of all four products can run in parallel. However, the test can only be parallelized…
user946822
  • 25
  • 3
0
votes
1 answer

GCP - What's the best option of orchestration tool Workflows or Composer?

we have a few jobs in gcp to execute sequentially and parallelly. Need to open discussion to see the best option with most cost effective? example of jobs like. Dataflow, cloudfunctions, etc ClouComposer(Airflow) GCP Workflows
0
votes
1 answer

How to get the result of a background job?

My background job returns a table. How do I view this table? For example: def func1(x){     t = table(take(1..1000,x) as Id,rand(100.00,x) as qyt)     return t } submitJob("getTable","getTable",func1,10) 
Eva Gao
  • 402
  • 1
  • 7
0
votes
1 answer

How does npm bull reads delayed jobs without using cron?

I was recently looking at npm bull package to use for delayed jobs. I can see that for delayed jobs it is using redis sorted set and mapping the value of the job to a hashset in redis. But I fail to understand how does the process receives the…
isnvi23h4
  • 1,910
  • 1
  • 27
  • 45
0
votes
0 answers

Variable from Autosys that indicate current run is for which scheduled time

I have a job that run multiple times in a day and I would like to get the info that whether the current run is for which run in that day. E.g. Run schedule: 2,4,6,8 am on Monday If the job starts at 4:00 am (or 5:10 am if there are delay on autosys…
Sherry
  • 3
  • 1
  • 4
0
votes
0 answers

Getting MaxAttemptsExceedException when uploading file in a Job Queue

I am trying to upload a file to S3 using a job queue, but I keep getting a MaxAttemptsExceedException error. I have tried increasing the number of retries in the job queue, but it doesn't seem to help. It works fine in sync but when I changed it to…
Nahid Bin Azhar
  • 703
  • 1
  • 5
  • 18
0
votes
1 answer

Resource Freeing in Redis Jobs

I've an application that sends redid jobs output to front-end via socket. There are some special type nodes those are special & needs to wait to finish their jobs.So I'm using infinite waiting to finish those jobs to complete. Something like…
0
votes
0 answers

PowerShell pass a variable to background process

I can't pass $dir variable to scripts in the background "Script2" and "Script3". What an I doing wrong? All code is pretty simple, I'm just testing how to run background processes and get results from them. Script1 # Ask the user for the directory…
Boom
  • 27
  • 6
0
votes
0 answers

Module error while running in singularity

Was trying to run a programme build on singularity and was enncountering the following error: /home/skhatri/anaconda3/envs/alphafold_v_2.3.0/bin/python3: can't find 'main' module in…
shan
  • 11
  • 2
0
votes
1 answer

Job that executes command inside a pod

What I'd like to ask is if is it possible to create a Kubernetes Job that runs a bash command within another Pod. apiVersion: batch/v1 kind: Job metadata: namespace: dev name: run-cmd spec: ttlSecondsAfterFinished: 180 template: spec: …
rafidini
  • 216
  • 1
  • 8
0
votes
2 answers

How to start Hangfire each 30 and 00 minutes

How can i start Hangfire every 00 and 30 minutes? For Examle, i start project 13:20, Hangfire must start 13:30, 14:00, 14:30, 15:00 ... etc. I know how to start hangfire every 30 minutes expression ("*/30 * * * *") but my hangfire need to start not…