Script to run 100jobs at a time from cron

here is my requirement.

When ever the customer visitis the sore we want to look his information by his phone no. From the database side we are putting all the information in session pools.
for example if we have 500 stores and at any second one customer is at the counter we can get atlease 500 attempts to database.
To test this situation we are planning to run one cron job which will submit 100(because of cron limit we are using only 100) jobs at a time.
if i use any for loop or while loop i think the steps will be executed scquentially. i want a script which will execute all the steps at same time.

Unless you have 100 cpu's you are not going to execute 100 processes simultaneously. But you don't need to wait for one process to finish before launching a second process. Just use the ampersand.

#! /usr/bin/ksh
job1
job2
job3
exit 0

#! /usr/bin/ksh
job1 &
job2 &
job3 &
wait
exit 0

The first script runs the commands sequentially. The second one does not. Note that either script is counted as one job by cron, not 3 or 4 jobs. If it launched 10,000 subjobs, cron still counts it as one job. Depending on your version of unix, you may have a problem with another limit usually called maxuprc which is the max processes a non-root user can have. You may need to to increase that.

i think i can run concurrent jobs using cron. according to this thread the default is 100.
cron problem!.

And we know that one cpu can run multiple jobs at a time.
What you specified works for me. but if i want to test 500 concurrent jobs i need to have 500 entries in my cron with the same time stamp. to avoid that i am looking for a script.