I'm setting up a SQL agent job to manipulate some files on the sql server. It needs to run every time a .txt file shows up in a specific directory on the server. I could have the job run every few minutes to check, but I don't want to do that.
Is there a way to have a sql agent job trigger after a new txt file shows up in a certain directory? There would be no txt files in the folder when the job is complete.