I would like to execute a store proc when a file gets created each day, the file gets deleted as part of the proc.
Can I do this using SQL alert - WMI event alert? I imagine creating a job which runs the proc and the job will run the proc. The alert would start the job on file creation.
Is this possible, can anyone help with a sample query? What should I use as the Namespace?
Thanks