There are 2 way for these: From the finish method of first batch, call a scheduler class which will schedule second bach. From the first batch set the CRON expression, set the scheduler to be executed after 1 minute. 2. Write a email service and send email from finish method from first batch on this. (Not a good approach)
There are 2 way for these: From the finish method of first batch, call a scheduler class which will schedule second bach. From the first batch set the CRON expression, set the scheduler to be executed after 1 minute. 2. Write a email service and send email from finish method from first batch on this. (Not a good approach)
From the finish method of first batch, call a scheduler class which will schedule second bach. From the first batch set the CRON expression, set the scheduler to be executed after 1 minute.
2. Write a email service and send email from finish method from first batch on this. (Not a good approach)
All Answers
From the finish method of first batch, call a scheduler class which will schedule second bach. From the first batch set the CRON expression, set the scheduler to be executed after 1 minute.
2. Write a email service and send email from finish method from first batch on this. (Not a good approach)