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
10
votes
4 answers

How to make the client download a very large file that is genereted on the fly

I have an export function that read the entire database and create a .xls file with all the records. Then the file is sent to the client. Of course, the time of export the full database requires a lot of time and the request will soon end in a…
Simoyw
  • 681
  • 1
  • 9
  • 30
10
votes
1 answer

How to change queue of currently running hadoop job?

My hadoop job was running over 10 hours but since I put it in wrong queue, the containers are kept getting killed by the scheduler. How do I change the queue of currently running hadoop job without restarting it? Thank you
Gon
  • 733
  • 3
  • 8
  • 23
10
votes
6 answers

NoSuchJobException when running a job programmatically in Spring Batch

I have a Job running on startup. I want to run this job programmatically at a particular point of my application, not when I start my app. When running on startup I have no problem, but I got a "NoSuchJobException" (No job configuration with the…
Carrm
  • 1,485
  • 3
  • 24
  • 45
9
votes
1 answer

Running cron job/task at every hour

Which one is the correct syntax for running a job at every hour? 0 0 * * * * 0 0 */1 * * * Also how are they both different?
N.A
  • 187
  • 1
  • 1
  • 5
9
votes
2 answers

How to define every five minutes to run jobs

How to define every five minutes to run jobs in the play.jobs.every class ,it define an example every("1h") to run job every hour,bu i want to run every 5 minutes,how to define this. i try the every("5m") or every("0.1h") ,play reports internal…
Lion
  • 271
  • 5
  • 10
9
votes
3 answers

Using bg and fg with a given PID

I am using Ubuntu. If I am given a job’s PID, how can I bring the paused job to the background/foreground and running state? I know bg/fg but they require job id not PID. Also, I pause jobs with kill -STOP and I know that I can resume it…
HARUN SASMAZ
  • 567
  • 1
  • 7
  • 17
9
votes
1 answer

Can I use Athena View as a source for a AWS Glue Job?

I'm trying to use an Athena View as a data source to my AWS Glue Job. The error message I'm getting while trying to run the Glue job is about the classification of the view. What can I define it as? Thank you Error Message Appearing
9
votes
1 answer

Snakemake hangs when cluster (slurm) cancelled a job

Maybe the answer is obvious for many, but I am quite surprised I could not find a question regarding this topic, which represents a major problem for me. I would greatly appreciate a hint! When submitting a job on a cluster managed by slurm, if the…
davide m
  • 91
  • 5
9
votes
3 answers

laravel deserialize/decode job raw body

i'm experiencing one problem here. Sample will speak for it self. Queue::after(function (JobProcessed $event) { $job_details = json_decode($event->job->getRawBody(), true); )}); This is how $job_details looks like: 'displayName' =>…
Branko Dragovic
  • 185
  • 4
  • 16
9
votes
1 answer

Trigger jenkins hudson.model.Job programmatically from jenkins plugin

I am struggling to figure out some sample example to trigger hudson.model.Job from plugin: private void triggerPipelineJobs(){ for (Job job : Jenkins.getInstance().getAllItems(Job.class)) { System.out.println("job is : " +…
mogli
  • 1,549
  • 4
  • 29
  • 57
9
votes
1 answer

Resuming queued jobs after NodeJS worker restart on Heroku

So I have a fairly simple setup on Heroku. I'm using RabbitMQ for handling background jobs. My setup consists of a node script that runs daily using Heroku Scheduler addon. The scripts adds jobs to the queue, the worker in turn, consumes them and…
yohairosen
  • 1,665
  • 1
  • 18
  • 26
9
votes
3 answers

Where jenkins store build files result?

I am wondering if there is a way to get the files result of a Jenkins build. I configure Jenkins to create the build, so it successfully pull my gitlab and then compile my project. So it should have my files and the compilation result stored…
Thomas CEDRINI
  • 171
  • 1
  • 3
  • 10
9
votes
2 answers

How to do something if a job has finished

I'm trying to implement a GUI to my PowerShell script to simplify a certain process for other users. I have following PowerShell script: if ($checkBox1.Checked) { Try{ Start-Job { & K:\sample\adp.cmd } $listBox1.Items.Add("ADP-Job…
Tehc
  • 669
  • 3
  • 10
  • 28
9
votes
3 answers

Laravel run all queues at once

If i have multiple queues , is it possible to run all of them in sequence without needing to name each one on --queue option?
alex
  • 7,551
  • 13
  • 48
  • 80
9
votes
4 answers

Check if Job is already in queue using Laravel 5 and Redis

I've implemented a jobs queue a few days ago and I've been experiencing problems with duplication, I'm currently working with Redis and followed the Laravel's official tutorial. In my case, whenever someone goes to the homepage, a job is sent to the…
Micael Sousa
  • 1,129
  • 3
  • 10
  • 16