Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Re: Scheduling

    "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?
    >
    > Thanks :)
    > -Tom
    The Windows Task Scheduler is configurable.

    I use it (in Win98) to visit a URL each day at 3AM.



    McKirahan Guest

  2. Similar Questions and Discussions

    1. 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...
    2. Help with scheduling
      My coldfusion Admin. Scheduling doesnt work...Any suggestions????:frown;
    3. 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...
    4. 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...
    5. Email scheduling
      My requirement is to schedule sending of emails automatically. How can I go about acheiving this? -------------------------------- From: Manjesh...
  3. #2

    Default Re: Scheduling

    "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 running IIS
    [url]http://mvp.support.microsoft.com/[/url]
    [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]



    Tom Kaminski [MVP] Guest

  4. #3

    Default Re: Scheduling

    "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
    news:bk9k8b$31m6@kcweb01.netnews.att.com...
    > "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 running
    IIS
    > [url]http://mvp.support.microsoft.com/[/url]
    > [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
    You're right -- it wouldn't be feasible.

    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

  5. #4

    Default Re: Scheduling

    > 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.


    Aaron Bertrand - MVP Guest

  6. #5

    Default Re: Scheduling

    "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".


    McKirahan Guest

  7. #6

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139