|
 |
aspx thread: how do i schedule a task with ASP.net?
Message #1 by "dmitri kalmar" <dmitrikal@y...> on Thu, 7 Mar 2002 22:54:05
|
|
i need to automatically disable part of my web app every night at 12am.
i have the "disable" functionality working fine (using
Application["appEnabled"]). alternately, i could use a field in the
database (i'm using MS Access 2000)
i just can't find any information on SCHEDULING anywhere!
i just need a script to run at 12am every night - i can't find a way to do
that in ASP.Net, i can't even find a way to do that in Access. i don't
care what kind of script, or whether it involves the database or Windows
Scripting Host, or what.
please help!
thanks!
-d
Message #2 by "Minh T. Nguyen" <nguyentriminh@y...> on Thu, 7 Mar 2002 21:23:56 -0800
|
|
Dmitri,
I don't think that ASP.NET has any scheduling classes, but you
have a few alternatives. If you are serving your web application from
your own machine or another machine you have access to, you might
consider writing a Windows Service or a stand-alone application that
updates your database. Windows Services are surprisingly easy to write
in .NET.
If you don't have access over the server, check with your host.
Sometimes they have utilities that schedule tasks for you. My host for
instance (www.crystaltech.com), allows me to set a URL that is being
accessed at certain time intervals. I use that actually to create those
"(whatever) of the Day" features.
Minh.
-----Original Message-----
From: dmitri kalmar [mailto:dmitrikal@y...]
Sent: Thursday, March 07, 2002 10:54 PM
To: ASP+
Subject: [aspx] how do i schedule a task with ASP.net?
i need to automatically disable part of my web app every night at 12am.
i have the "disable" functionality working fine (using
Application["appEnabled"]). alternately, i could use a field in the
database (i'm using MS Access 2000)
i just can't find any information on SCHEDULING anywhere!
i just need a script to run at 12am every night - i can't find a way to
do
that in ASP.Net, i can't even find a way to do that in Access. i don't
care what kind of script, or whether it involves the database or Windows
Scripting Host, or what.
please help!
thanks!
-d
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Message #3 by "dmitri kalmar" <dmitrikal@y...> on Fri, 8 Mar 2002 19:40:11
|
|
thanks for the help, Minh.
you've confirmed what i thought about ASP.Net not having scheduling
classes. (anyone else know otherwise?)
i'm just checking the current time in ASP, and handling it fine that way.
-dmitri
> Dmitri,
>
> I don't think that ASP.NET has any scheduling classes, but you
> have a few alternatives. If you are serving your web application from
> your own machine or another machine you have access to, you might
> consider writing a Windows Service or a stand-alone application that
> updates your database. Windows Services are surprisingly easy to write
> in .NET.
>
> If you don't have access over the server, check with your host.
> Sometimes they have utilities that schedule tasks for you. My host for
> instance (www.crystaltech.com), allows me to set a URL that is being
> accessed at certain time intervals. I use that actually to create those
> "(whatever) of the Day" features.
>
> Minh.
>
> -----Original Message-----
> From: dmitri kalmar [mailto:dmitrikal@y...]
> Sent: Thursday, March 07, 2002 10:54 PM
> To: ASP+
> Subject: [aspx] how do i schedule a task with ASP.net?
>
>
> i need to automatically disable part of my web app every night at 12am.
> i have the "disable" functionality working fine (using
> Application["appEnabled"]). alternately, i could use a field in the
> database (i'm using MS Access 2000)
>
> i just can't find any information on SCHEDULING anywhere!
> i just need a script to run at 12am every night - i can't find a way to
> do
> that in ASP.Net, i can't even find a way to do that in Access. i don't
> care what kind of script, or whether it involves the database or Windows
>
> Scripting Host, or what.
>
> please help!
>
> thanks!
>
> -d
>
>
>
>
> _________________________________________________________
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
|
|
 |