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
4
votes
1 answer

How to measure containers execution time inside a kubernetes POD?

I am running a jobs with a kubernetes POD and I need to measure the execution time for each job . I want to get it through some api. Does anyone know how can I get it ?
4
votes
1 answer

commands to move jenkins job from one view to another view using cURL

I wanted to move my existing Jenkins job from one jenkins view to another view. While creating a new jenkins job we can mention the view in the URL and that works for me. But moving the job i couldn't get any clue for this. Example:…
Kivi
  • 485
  • 1
  • 9
  • 26
4
votes
1 answer

Can't submit job with Flink 1.5 cluster

Trying to move from Flink 1.3.2 to 1.5 We have cluster deployed with kubernetes. Everything works fine with 1.3.2 but I can not submit job with 1.5. When I am trying to do that I just see spinner spin around infinitely, same via REST api. I even…
Georgy Gobozov
  • 13,633
  • 8
  • 72
  • 78
4
votes
2 answers

Laravel queue/ rename jobs table

I am using Laravel Framework version Lumen (5.2.5). My requirement is to change jobs table name ( instead of jobs, I want uat_jobs in UAT and prod_jobs in PROD). So as suggested in other StackOverflow anwer, changed table name in config\queue.php…
Jagadish
  • 61
  • 1
  • 3
4
votes
2 answers

Jenkins : How can I make a build fail if another job is unsuccessful?

I have two separate Jobs in Jenkins, but one job is only allowed to run if another jobs' last state was successful. Please note: I do not want to automatically trigger the job; both jobs are triggered manually. How can I achieve this? note: I am…
Giel Berkers
  • 2,852
  • 3
  • 39
  • 58
4
votes
2 answers

Kubernetes - Scaling the resource failed with: Job.batch is invalid:

I'm trying to delete an existent job using kubectl delete job/job-name -n my-namespace But this error is displayed caling the resource failed with: Job.batch "kong-loop" is invalid: spec.template: Invalid value: api.PodTemplateSpec{...}: field…
Bruno Quaresma
  • 9,457
  • 7
  • 32
  • 50
4
votes
0 answers

Wait for a job to finish before starting another job of same job group in quartz scheduler?

I am using Quartz scheduler to schedule jobs. I want One job should wait for already running job if both jobs belong to the same job group However 2 jobs can run parallel if job group is different I thought of using Stateful Job but it disallows…
Vikas Garg
  • 41
  • 1
4
votes
0 answers

How do I pass SSH keys from Jenkins Pipeline to Jenkins build jobs?

I'm working on a set of jobs to tag a bunch of related Git repos with the same tag. At the moment, the flow is decomposed into three types of jobs: an overall Jenkins scripted Pipeline, a job that does a build and drops a tag if the build succeeds,…
4
votes
1 answer

sidekiq with multiple queues: jobs get stuck

I have recently had to prioritize my Sidekiq queues (before I was using only the default queue). So I have written few jobs which are supposed to be executed on the different queues. My sidekiq.yml: :queues: - slack_notifier - invoicing -…
Andrey Deineko
  • 51,333
  • 10
  • 112
  • 145
4
votes
2 answers

Is there a way to submit spark jobs via web ui?

I switched from flink to spark and I am missing the option to submit jobs via web UI. Until now I submitted all spark jobs per command line. Is there a a way to submit jobs via the spark web interface?
user2811630
  • 445
  • 3
  • 11
4
votes
2 answers

Laravel 5.4 - Issue with Jobs after move model

I have this error on my console. I use Jobs from Laravel 5.4 and I have move the Feed Model in App\Models\Feed. Since two days, I have this error because Laravel doesn't find the Feed Model. I have restart my Jobs with php artisan…
pirmax
  • 2,054
  • 8
  • 36
  • 69
4
votes
1 answer

I can't run jobs on PgAgent on Postgresql

I installed pgagent on Ubuntu 16.04. I executed: CREATE EXTENSION pgagent; CREATE LANGUAGE plpgsql; According this: https://www.pgadmin.org/docs/pgadmin4/1.x/pgagent_install.htm I ran /usr/bin/pgagent hostaddr=127.0.0.1 user=my_user…
4
votes
2 answers

How do I delete rows of data from mysql table automatically with 24 hours after data into table?

For example, i have a data input program And I want to delete my data automatically after 1 day of this data I input. how I do that? Someone can explain in code? Create.php these values are sent to the server
user7852624
4
votes
1 answer

Submit job with python code (mpi4py) on HPC cluster

I am working a python code with MPI (mpi4py) and I want to implement my code across many nodes (each node has 16 processors) in a queue in a HPC cluster. My code is structured as below: from mpi4py import MPI comm = MPI.COMM_WORLD size =…
Commoner
  • 1,678
  • 3
  • 19
  • 34
4
votes
1 answer

Laravel multiple workers and being rate limited

I have an application which has a queue with multiple workers. The workers are scaled based on the number of jobs in the queue. One of the main point of the jobs being processed by the workers is to make API calls to an external service to retrieve…
Cristian
  • 2,390
  • 6
  • 27
  • 40