Home All Groups Group Topic Archive Search About

How to run scheduler for more than one time in a day

Author
18 May 2006 4:17 PM
srinivas
Hi
I'm having VB console application.
I want to schedule this app so that it can run for every 30 mins.
I don't want to use Windows Services here.
Is there any way where i can run scheduler for more than once in a day?

Thanks

Author
18 May 2006 8:09 PM
Tom Shelton
srinivas wrote:
> Hi
> I'm having VB console application.
> I want to schedule this app so that it can run for every 30 mins.
> I don't want to use Windows Services here.
> Is there any way where i can run scheduler for more than once in a day?
>
> Thanks

What do you mean you don't want to use windows services?  Does that
mean you don't want to use the Windows Task Scheduler?

--
Tom Shelton [MVP]
Author
18 May 2006 10:48 PM
srinivas
hi Tom,
Thanks for replying.
What i mean to say is
I don't want to use .net Windows Services to run my console application

I want to use the Windows Task Scheduler ONLY.
I want to schedule my console applicaion in Windows Scheduled Tasks.But the
problem with Scheduled Tasks is that i can't run more than once in a day.
But programatically i want that to be done in VB.net

Thanks
Srinivas
Show quoteHide quote
"Tom Shelton" wrote:

>
> srinivas wrote:
> > Hi
> > I'm having VB console application.
> > I want to schedule this app so that it can run for every 30 mins.
> > I don't want to use Windows Services here.
> > Is there any way where i can run scheduler for more than once in a day?
> >
> > Thanks
>
> What do you mean you don't want to use windows services?  Does that
> mean you don't want to use the Windows Task Scheduler?
>
> --
> Tom Shelton [MVP]
>
>
Author
19 May 2006 12:19 AM
Tom Shelton
srinivas wrote:
Show quoteHide quote
> hi Tom,
> Thanks for replying.
> What i mean to say is
> I don't want to use .net Windows Services to run my console application
>
> I want to use the Windows Task Scheduler ONLY.
> I want to schedule my console applicaion in Windows Scheduled Tasks.But the
> problem with Scheduled Tasks is that i can't run more than once in a day.
> But programatically i want that to be done in VB.net
>
> Thanks
> Srinivas
> "Tom Shelton" wrote:
>
> >
> > srinivas wrote:
> > > Hi
> > > I'm having VB console application.
> > > I want to schedule this app so that it can run for every 30 mins.
> > > I don't want to use Windows Services here.
> > > Is there any way where i can run scheduler for more than once in a day?
> > >
> > > Thanks

Ok...  I see what you want - and you can use the task scheduler for
that.  If your doing it manually, you can open the advanced task
properties.  And in there, it lets you specifie a duration for
repeating a task...

If you want to do it programatically, I can help you out with that as
well :)

--
Tom Shelton [MVP]
Author
19 May 2006 1:38 AM
srinivas
Thanks alot Tom,
Till now i did't see the Advanced tab only.
You saved my time.
It will be great if you give me the programatical way also.

Once again thank you very much....
Srinivas

Show quoteHide quote
"Tom Shelton" wrote:

>
> srinivas wrote:
> > hi Tom,
> > Thanks for replying.
> > What i mean to say is
> > I don't want to use .net Windows Services to run my console application
> >
> > I want to use the Windows Task Scheduler ONLY.
> > I want to schedule my console applicaion in Windows Scheduled Tasks.But the
> > problem with Scheduled Tasks is that i can't run more than once in a day.
> > But programatically i want that to be done in VB.net
> >
> > Thanks
> > Srinivas
> > "Tom Shelton" wrote:
> >
> > >
> > > srinivas wrote:
> > > > Hi
> > > > I'm having VB console application.
> > > > I want to schedule this app so that it can run for every 30 mins.
> > > > I don't want to use Windows Services here.
> > > > Is there any way where i can run scheduler for more than once in a day?
> > > >
> > > > Thanks
>
> Ok...  I see what you want - and you can use the task scheduler for
> that.  If your doing it manually, you can open the advanced task
> properties.  And in there, it lets you specifie a duration for
> repeating a task...
>
> If you want to do it programatically, I can help you out with that as
> well :)
>
> --
> Tom Shelton [MVP]
>
>
Author
19 May 2006 4:13 AM
Tom Shelton
srinivas wrote:
> Thanks alot Tom,
> Till now i did't see the Advanced tab only.
> You saved my time.
> It will be great if you give me the programatical way also.

Here is the  C# source for a class library I wrote to interact with the
windows scheduler...

http://mtogden.com/~tom/files/SchedulingAgent.NET.zip

--
Tom Shelton [MVP]
Author
19 May 2006 1:59 PM
srinivas
Thanks again :)

Show quoteHide quote
"Tom Shelton" wrote:

>
> srinivas wrote:
> > Thanks alot Tom,
> > Till now i did't see the Advanced tab only.
> > You saved my time.
> > It will be great if you give me the programatical way also.
>
> Here is the  C# source for a class library I wrote to interact with the
> windows scheduler...
>
> http://mtogden.com/~tom/files/SchedulingAgent.NET.zip
>
> --
> Tom Shelton [MVP]
>
>