Pick file and Trigger informatica process

Hi,

I am creating a script in which we will check a folder. If any file placed inside the folder, script will move the file to another folder and Trigger etl process.
Now the issue is that the script should continously check the presence of file inside folder after every minute or hour. So how should I make the process wait for that specific minute or hour. Because it might happen that informatica process is taking more time than wait/sleep time in script and the process failed to check the folder at desired time.

You should post your entire script so we can take a look at your work and what you are attempting to do.

Thanks.