Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timed Events

Status
Not open for further replies.

transparent

Programmer
Sep 15, 2001
333
GB
Does anybody know how to send timed automated emails..or timed events of any kind?

Any help would be appreciated.
Regards
 
transparent,

What do you mean timed? At certain intervals? Or at a certain time like 5:00AM.

'Set the job to run 10 minutes from now
curTime = time
newtime = DateAdd("n",10, curTime)


fengshui1998
 
Cheers for your Response. In reply:

I require that the server automatically sends an email at a predined time every day ie 5pm. This to me suggests a persistant script/app.

Regards
 
transparent,
What you need to do is create a batch file that runs some ASP page and is launched by the task scheduler.
I could not find a way to run vbscript or ASP at the command line, so I programmed mine using PHP.
It launches daily and runs a query on my MSSQL SERVER and emails the results...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top