Link to home
Start Free TrialLog in
Avatar of robrodp
robrodpFlag for Mexico

asked on

Triggering a routine everday a a certain hour

Hi

Is there a way in asp to run a routine everyday at a certine time automatically?
Avatar of ispaleny
ispaleny
Flag of Czechia image

I don't think you want to run it in ASP. You can use Windows Scheduler, SQL Server Agent or some other scheduler.
Can you post more information about what you trying to do ?
ASKER CERTIFIED SOLUTION
Avatar of Jim P.
Jim P.
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of arbert
arbert

You can call ASP from SQL Server as well.  Just tell us more about what you're trying to do...
ASP is a client initiated code. So you are not able to define an exact time to run it. But there is one exception, if your site is busy all the day. You can put code checking time in ASP and run it on every connection. But when is my site busy, why making it more busy? I think it is more suitable to use a scheduler. The process run by the scheduler can even drive ASP pages over HTTP connection, if you are not able to reach server in other way.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of robrodp

ASKER

Thanks

I have a routine that updates all data daily. It elimitaes events that have an old date

I want to run it once at say 12:00

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial