0
votes

I have this problem:

I have several jobs scheduled. Every job produces a file. Now I have to schedule another job that picks all these files, compresses them and sends via FTP to a remote server.

So the last job has to wait until completion of the other jobs to start. How can I schedule this job? Can you give me some examples?

I'm using Spring integration with Quartz.

1

1 Answers

0
votes

Have a look @ JobListner

Add a logic, in

public void jobWasExecuted(JobExecutionContext context,
            JobExecutionException jobException);

To check , are all jobs completed or not.

I hope this helps