Hi,
Sounds to me like you are talking about CRON jobs.
What was suggested earlier.. using the windows schedular.. It requires that you have your pC switched on for your programs to run.. Safer to do it server-side. And that is where the cron-jobs are comming up.
I have never had the need to use them, but as far as I know, you can setup these routines, and tell the server to run them every once in -timeperiod-.
So yu coudld store the queries in a database and every week run each query, and upon results mail them to the user.
J.