Hi

I am sure its been asked many many times, but is there a way of creating a
script that runs from time to time, say every 5 mins that can check to see
if a certain time has elapsed and then send an email.

Basically, I want to build a reminder system into my intranet that checks a
calendar database and 1 hour or 1 day before sends out a reminder email.
Almost like a service.

Anyone any ideas as to where i look?

MC

Re: Service like script by Ray

Ray
Tue Oct 21 10:36:21 CDT 2003

Sure, use the scheduled tasks on the server in the control panel.

Ray at work

"Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
> Hi
>
> I am sure its been asked many many times, but is there a way of creating a
> script that runs from time to time, say every 5 mins that can check to see
> if a certain time has elapsed and then send an email.
>
> Basically, I want to build a reminder system into my intranet that checks
a
> calendar database and 1 hour or 1 day before sends out a reminder email.
> Almost like a service.
>
> Anyone any ideas as to where i look?
>
> MC
>
>



Re: Service like script by Mark

Mark
Tue Oct 21 10:45:36 CDT 2003

Schedule task only works on a daily or more basis, I need to run it every 5
mins. Good idea though


"Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
> Hi
>
> I am sure its been asked many many times, but is there a way of creating a
> script that runs from time to time, say every 5 mins that can check to see
> if a certain time has elapsed and then send an email.
>
> Basically, I want to build a reminder system into my intranet that checks
a
> calendar database and 1 hour or 1 day before sends out a reminder email.
> Almost like a service.
>
> Anyone any ideas as to where i look?
>
> MC
>
>



Re: Service like script by Ray

Ray
Tue Oct 21 10:46:48 CDT 2003

Try looking at the advanced options. You can schedule a task every five
minutes using the GUI scheduler, not AT though.

Ray at work

"Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
news:u98F5n%23lDHA.1284@TK2MSFTNGP09.phx.gbl...
> Schedule task only works on a daily or more basis, I need to run it every
5
> mins. Good idea though
>
>
> "Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
> news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
> > Hi
> >
> > I am sure its been asked many many times, but is there a way of creating
a
> > script that runs from time to time, say every 5 mins that can check to
see
> > if a certain time has elapsed and then send an email.
> >
> > Basically, I want to build a reminder system into my intranet that
checks
> a
> > calendar database and 1 hour or 1 day before sends out a reminder email.
> > Almost like a service.
> >
> > Anyone any ideas as to where i look?
> >
> > MC
> >
> >
>
>



Re: Service like script by Rikkie

Rikkie
Tue Oct 21 13:16:19 CDT 2003

You can use the sleep method in vbs. According to microsoft
"The thread running the script is suspended, releasing its CPU utilization.
Execution resumes as soon as the interval expires. "

"Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
> Hi
>
> I am sure its been asked many many times, but is there a way of creating a
> script that runs from time to time, say every 5 mins that can check to see
> if a certain time has elapsed and then send an email.
>
> Basically, I want to build a reminder system into my intranet that checks
a
> calendar database and 1 hour or 1 day before sends out a reminder email.
> Almost like a service.
>
> Anyone any ideas as to where i look?
>
> MC
>
>



Re: Service like script by jcochran

jcochran
Wed Oct 22 06:48:34 CDT 2003

Especially since it's the correct idea. You don't mention operating
system, but in W2K and newer you can schedule tasks to repeat whenever
you wish, even at five minute intervals.

Jeff

On Tue, 21 Oct 2003 16:45:36 +0100, "Mark Cooney"
<mark@bluebyrinth.co.uk> wrote:

>Schedule task only works on a daily or more basis, I need to run it every 5
>mins. Good idea though
>
>
>"Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
>news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
>> Hi
>>
>> I am sure its been asked many many times, but is there a way of creating a
>> script that runs from time to time, say every 5 mins that can check to see
>> if a certain time has elapsed and then send an email.
>>
>> Basically, I want to build a reminder system into my intranet that checks
>a
>> calendar database and 1 hour or 1 day before sends out a reminder email.
>> Almost like a service.
>>
>> Anyone any ideas as to where i look?
>>
>> MC
>>
>>
>


Re: Service like script by Ray

Ray
Wed Oct 22 08:13:29 CDT 2003

Just for the record, you could do this prior to W2K. Oddly enough, the task
scheduler is part of Internet Explorer since version 1.0.

Ray at work

"Jeff Cochran" <jcochran.nospam@naplesgov.com> wrote in message
news:3f986e55.602930478@msnews.microsoft.com...
> Especially since it's the correct idea. You don't mention operating
> system, but in W2K and newer you can schedule tasks to repeat whenever
> you wish, even at five minute intervals.
>
> Jeff
>
> On Tue, 21 Oct 2003 16:45:36 +0100, "Mark Cooney"
> <mark@bluebyrinth.co.uk> wrote:
>
> >Schedule task only works on a daily or more basis, I need to run it every
5
> >mins. Good idea though
> >
> >
> >"Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
> >news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
> >> Hi
> >>
> >> I am sure its been asked many many times, but is there a way of
creating a
> >> script that runs from time to time, say every 5 mins that can check to
see
> >> if a certain time has elapsed and then send an email.
> >>
> >> Basically, I want to build a reminder system into my intranet that
checks
> >a
> >> calendar database and 1 hour or 1 day before sends out a reminder
email.
> >> Almost like a service.
> >>
> >> Anyone any ideas as to where i look?
> >>
> >> MC
> >>
> >>
> >
>



Re: Service like script by Jussi

Jussi
Fri Oct 24 09:50:07 CDT 2003

Hi,

You can also use schtasks.exe from command line, if you need to schedule
scripts automatically. This requires Windows Server 2003 or Windows XP,
though. You shouldn't use AT anymore.

Jussi

"Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
news:u98F5n#lDHA.1284@TK2MSFTNGP09.phx.gbl...
> Schedule task only works on a daily or more basis, I need to run it every
5
> mins. Good idea though
>
>
> "Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
> news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
> > Hi
> >
> > I am sure its been asked many many times, but is there a way of creating
a
> > script that runs from time to time, say every 5 mins that can check to
see
> > if a certain time has elapsed and then send an email.
> >
> > Basically, I want to build a reminder system into my intranet that
checks
> a
> > calendar database and 1 hour or 1 day before sends out a reminder email.
> > Almost like a service.
> >
> > Anyone any ideas as to where i look?
> >
> > MC
> >
> >
>
>



Re: Service like script by Jussi

Jussi
Fri Oct 24 09:51:44 CDT 2003

Hi,

Nice idea but I personally don't like the idea of having several scripts
sleeping in the background waiting for something to happen. This probably
results in several open command prompts (which can be hidden, though) and
you have no way of controlling when the scripts are actually executed.
Scheduled Tasks let's you do this.

Jussi

"Rikkie" <everslegers@web.de> wrote in message
news:3f957827$0$289$ba620e4c@reader1.news.skynet.be...
> You can use the sleep method in vbs. According to microsoft
> "The thread running the script is suspended, releasing its CPU
utilization.
> Execution resumes as soon as the interval expires. "
>
> "Mark Cooney" <mark@bluebyrinth.co.uk> wrote in message
> news:uDr1fQ%23lDHA.424@TK2MSFTNGP10.phx.gbl...
> > Hi
> >
> > I am sure its been asked many many times, but is there a way of creating
a
> > script that runs from time to time, say every 5 mins that can check to
see
> > if a certain time has elapsed and then send an email.
> >
> > Basically, I want to build a reminder system into my intranet that
checks
> a
> > calendar database and 1 hour or 1 day before sends out a reminder email.
> > Almost like a service.
> >
> > Anyone any ideas as to where i look?
> >
> > MC
> >
> >
>
>



Re: Service like script by Ray

Ray
Fri Oct 24 09:53:51 CDT 2003

I wasn't aware of schtasks.exe until this post. Thanks. But I have to say
that I am really depressed by the last sentence (fragment) in the
description of schtasks /?. AT has been so good to me for a long time. :[

Enables an administrator to create, delete, query, change, run and
end scheduled tasks on a local or remote system. Replaces AT.exe.

Sad...

Ray at work

"Jussi Roine" <jussi@roine.org> wrote in message
news:z%amb.63$PL1.17@reader1.news.jippii.net...
> Hi,
>
> You can also use schtasks.exe from command line, if you need to schedule
> scripts automatically. This requires Windows Server 2003 or Windows XP,
> though. You shouldn't use AT anymore.
>
> Jussi
>