I have scheduled crontab to run a perl script every hour. This script pops a Surname from the top line of a file and then computes stats for this name. The thing is though; some names take much longer to process than others. This varies from a few minutes to 2 hours.
What would you guys recommend I do? Is there any perl functionality I could use to to manage this scenario - and insure that each exactable has the recourses it needs before it executes.
The script is also communicating with another server, and for this reason I don’t want to run the jobs as a batch, I want an interval between each call.