Job control in a shell

learn more… | top users | synonyms

1
vote
1answer
107 views

Kill a running shell script, and kill all process running within it

I have a shell script running in the background, which runs 5 different jobs. When I run the shell script all 5 jobs start running in order. When I kill this shell, whichever process is running, will ...
-1
votes
1answer
63 views

Is there a way of getting full name of background jobs/ processes?

jobs -l This lists the jobs, but my job names are long and identical and this leads to a confusion as to which one them completed. Eg: if my jobs are: aaaaaabbbbbbccccc...............123 ...
3
votes
0answers
45 views

Job queueing on a single machine

I have a shiny new server for running simulations on, with a pair of Tesla GPUs and 32 cores, running CentOS 7.2. I'd like for multiple users to be able to submit jobs to the server that get queued up ...
2
votes
0answers
246 views

Supervisord scheduling

Is it possible to set jobs to run every n days in supervisord, like what cron is doing? I'm asking because I have different kinds of jobs, continuous / real-time and daily ones. All my jobs are ...
2
votes
0answers
158 views

Configure job to expire

I'm learning Linux at the moment and were doing some exercises scheduling jobs with cron and crontab, but I'm wondering if it's possible to limit the amount of times that the scheduled job is ran. ...
1
vote
0answers
42 views

How to view document name of a print job

How do I view the document name of a print job? The closest I've come to the answer is with this command... lpstat -W completed ...which displays several results with a timestamp, but no ...
0
votes
0answers
63 views

How to check if process completed successfully or if there are any errors?

MYPROGRAM > output.out 2> output.err The two files will be generated: output.err and output.out. Surely after a job is completed its process ID no longer exists, but how can I check if it ...
0
votes
0answers
33 views

Will reinstalling cluster OS help running the jobs from being in queue?

I have a problem submitting my jobs to a cluster. I can upload and download files to and from cluster that I am working with but the cluster is unable to run the jobs submitted to them. As I check the ...
0
votes
0answers
37 views

submitting a job array script on SGE

I am trying to make a job array script to do a particular task for several files. Let's assume as a start for only 2 fastq files. Name : abc.fastq , def.fastq #!/bin/bash file=$(ls -1 *.fastq | ...
0
votes
0answers
194 views

Job IDs and their meaning/reference

Using Red Hat, I sent few jobs to a cluster and got "job IDs" in return. Using qstat I can see only one is running, one was canceled and the rest are still in the queue. I wrote something like this: ...