in reply to Waiting For File Extension Changes
Is the wait absolutely necessary? I'm asking because my first thought was that you might be better served by setting up a cron job that runs a script to inspect the directory, taking action when the file extension has changed.
Just my own two cents in the TMTOWTDI argument.