in reply to Getting Close and Cuddly with the sleep() function

If you are on a Unix system, try man at. Just write out a file, fire off a long list of jobs to a queue, then return. Each job has a sleep built in. The last one clears the file.

That will work well even if 10 people send off batches at once. It all gets queued up, then the queue empties one at a time.

  • Comment on RE (tilly) 1: Getting Close and Cuddly with the sleep() function