Ask a Question related to ASP Components, Design and Development.
-
McKirahan #1
Re: Scheduling
"Thomas Parslow" <tom@almostobsolete.net> wrote in message
news:eV9JZrQfDHA.1872@TK2MSFTNGP09.phx.gbl...The Windows Task Scheduler is configurable.> Hi,
>
> I have a component which when a method is called has to take an action
> at a later date. This could be a few days in advance or an hour or so,
> it's quite important that the action is taken at the right time (an
> error of 5 minutes or so is ok but not much more than that).
>
> As far as I know the task scheduler can only run tasks on a daily
> basis. I think it might be possible schedule things to run once at a
> specific time but doing it that way seems to be just asking for
> trouble.
>
> What I'd really like to find is a way to have a vbs file run every 5
> minutes, it could then load up my component and let it check if
> anything needs doing, does anyone know any way of doing this?
>
> I guess one way to do it might be to have a program running constantly
> on the web server just to do scheduling, but I'd rather not do that
> unless there is no other way...
>
> Any suggestions?
>
> Thanks :)
> -Tom
I use it (in Win98) to visit a URL each day at 3AM.
McKirahan Guest
-
getting scheduling to work
Hi all, I'm trying to get the scheduler component of CF working but I'm running into a problem. For testing purposes I created a very simple... -
Help with scheduling
My coldfusion Admin. Scheduling doesnt work...Any suggestions????:frown; -
Scheduling Security
I am using the event scheduler for teh first time. What does one do to protect from someone guessing the name of a scheduled task template and... -
Calendar with Scheduling App
Ok, I'll try to explain as best as I can. I am a noob and I am only in the learning process.. I am creating an app for scheduling. The scheduling... -
Email scheduling
My requirement is to schedule sending of emails automatically. How can I go about acheiving this? -------------------------------- From: Manjesh... -
Tom Kaminski [MVP] #2
Re: Scheduling
"Thomas Parslow" <tom@almostobsolete.net> wrote in message
news:eV9JZrQfDHA.1872@TK2MSFTNGP09.phx.gbl...Have task scheduler run your vbs every five minutes ...> Hi,
>
> I have a component which when a method is called has to take an action
> at a later date. This could be a few days in advance or an hour or so,
> it's quite important that the action is taken at the right time (an
> error of 5 minutes or so is ok but not much more than that).
>
> As far as I know the task scheduler can only run tasks on a daily
> basis. I think it might be possible schedule things to run once at a
> specific time but doing it that way seems to be just asking for
> trouble.
>
> What I'd really like to find is a way to have a vbs file run every 5
> minutes, it could then load up my component and let it check if
> anything needs doing, does anyone know any way of doing this?
>
> I guess one way to do it might be to have a program running constantly
> on the web server just to do scheduling, but I'd rather not do that
> unless there is no other way...
>
> Any suggestions?
--
Tom Kaminski IIS MVP
[url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
[url]http://mvp.support.microsoft.com/[/url]
[url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
Tom Kaminski [MVP] Guest
-
McKirahan #3
Re: Scheduling
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bk9k8b$31m6@kcweb01.netnews.att.com...IIS> "Thomas Parslow" <tom@almostobsolete.net> wrote in message
> news:eV9JZrQfDHA.1872@TK2MSFTNGP09.phx.gbl...>> > Hi,
> >
> > I have a component which when a method is called has to take an action
> > at a later date. This could be a few days in advance or an hour or so,
> > it's quite important that the action is taken at the right time (an
> > error of 5 minutes or so is ok but not much more than that).
> >
> > As far as I know the task scheduler can only run tasks on a daily
> > basis. I think it might be possible schedule things to run once at a
> > specific time but doing it that way seems to be just asking for
> > trouble.
> >
> > What I'd really like to find is a way to have a vbs file run every 5
> > minutes, it could then load up my component and let it check if
> > anything needs doing, does anyone know any way of doing this?
> >
> > I guess one way to do it might be to have a program running constantly
> > on the web server just to do scheduling, but I'd rather not do that
> > unless there is no other way...
> >
> > Any suggestions?
> Have task scheduler run your vbs every five minutes ...
>
> --
> Tom Kaminski IIS MVP
> [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for runningYou're right -- it wouldn't be feasible.> [url]http://mvp.support.microsoft.com/[/url]
> [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
But anything that must be constantly running takes resources....
Could you use JavaScript's or VBScript's "setTimeout" function for your
purposes?
[url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref[/url]
erence/methods/setTimeout.asp
[url]http://www.devguru.com/Technologies/ecmascript/quickref/win_settimeout.html[/url]
[url]http://www.pageresource.com/jscript/jtimeout.htm[/url]
McKirahan Guest
-
Aaron Bertrand - MVP #4
Re: Scheduling
> As far as I know the task scheduler can only run tasks on a daily
No, not true. You can have a task run every minute all day long, if you> basis.
want.
Aaron Bertrand - MVP Guest
-
McKirahan #5
Re: Scheduling
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:uQbovmSfDHA.2248@TK2MSFTNGP09.phx.gbl...The "Advanced Schedule Options" supports "Repeat Task".>> > As far as I know the task scheduler can only run tasks on a daily
> > basis.
> No, not true. You can have a task run every minute all day long, if you
> want.
McKirahan Guest
-
Thomas Parslow #6
Re: Scheduling
Excelent, that's just what I was looking for!
Thanks very much...
-Tom
"McKirahan" <News@McKirahan.com> wrote in message
news:YF4ab.93465$mp.42150@rwcrnsc51.ops.asp.att.ne t...> "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
> news:uQbovmSfDHA.2248@TK2MSFTNGP09.phx.gbl...>> >> > > As far as I know the task scheduler can only run tasks on a daily
> > > basis.
> > No, not true. You can have a task run every minute all day long, if you
> > want.
> The "Advanced Schedule Options" supports "Repeat Task".
>
>
Thomas Parslow Guest



Reply With Quote

