How to run a script after ts jobs have finished?

Skip to first unread message

Diego Fajardo

Apr 8, 2019, 6:01:32 PM4/8/19
to taskspooler
So here's my question. 
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 (,,,, 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 "" using "&&", since "" 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!!!

Raúl Salinas-Monteagudo

Apr 9, 2019, 5:00:37 AM4/9/19
Unless you set parallel execution (not the default), the jobs will finish in the order you issued them to taskspooler, so that you are guaranteed that will be the last to finish if you issued it last. 
Maybe you can describe your scenario a bit more precisely.  Might be that a single script grouping calls to all your scripts could be enough?  Or even a Makefile could enable you to use parallelism while taking care of dependencies.
Raúl Salinas

You received this message because you are subscribed to the Google Groups "taskspooler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit
Reply all
Reply to author
0 new messages