I would like to create a script that runs every 10 seconds. The script would run a query looking for data in a table, if there is any data, then it prints a report based upon that data, then deletes the data.
How do I go about doing this? I can write the code to look for the data, print the report, and delete the data, but I need help having it automatically check every 10 seconds. And, where do I put this code for it to run all the time?
How do I go about doing this? I can write the code to look for the data, print the report, and delete the data, but I need help having it automatically check every 10 seconds. And, where do I put this code for it to run all the time?