I need to run a script that will use the results of the previous set of jobs I submitted to ts.
So, suppose I have five scripts I submitted to ts (a.sh, b.sh, c.sh, d.sh, e.sh). I do not know which of the 5 submitted jobs is going to finish first or last. Which means I cannot submit a job after "e.sh" using "&&", since "e.sh" is not necessarily the last to finish.
I found a way around it, but I was wondering if there's a flag or command to submit a job to run a script if ts is idle and the queue is empty and all the jobs have finished.
Thanks and this is a great tool!!!