Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

batch job issue

Former Member
0 Likes
431

Hi,

Suppose i have a job scheduled to run every 15 min for e.g. to read sales order from a flat file (also available every 15 min) and upload it. Initially it starts at 10:00 am. Next it runs at 10:15 am and so on. Suppose The first run takes time more than 15 minutes (say 20 min) to upload sales order due to large number of records. So will the next job run at 10:15 am and pick up the next file or will it not run at all??

2 REPLIES 2
Read only

Former Member
0 Likes
397

Ishan,

The next scheduled job will start at its specified time regardless of the earlier job status.


So will the next job run at 10:15 am and pick up the next file or will it not run at all??

Yes, the next job will run at 10:15 am.

Pick up the next File ??...entirely depends on your program logic. You need to interpret what is your criteria considering the old file has not been completely processed, will it pick up the NEXT file or OLD file again or etc etc

BR,

Diwakar

Read only

0 Likes
397

It's depend upon the file name stored .If you are replacing original file then it will take new file because previous file will be not ther. Basically it depends upon the file name you are using in program