Jump to content

Quick question about sleep function


affordit

Recommended Posts

I have written a script that reads a directory of .gz files unzips to a new directory, them deletes the .gz files, and uploads the file to the database, and deletes the text file and it needs to go through about 300+ files. But some of the files have 750,000 + records and 30 seconds is not enough time so I need to break the upload down in the middle some where, and again before it starts the next file. I think I got that all right.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.