473,830 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

May 18 '06 #1
7 1365
yeah sql job scheduler.

May 18 '06 #2

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]

May 18 '06 #3
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


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]

May 18 '06 #4

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]

May 19 '06 #5
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

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

May 19 '06 #6

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]

May 19 '06 #7
Thanks again :)

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

May 19 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
5830
by: Eric | last post by:
I'm trying to have some scripts run periodically on Windows XP and found the "Task Scheduler" did not execute my scripts. My scripts are of the form scriptName.py, and will run just by invoking that name in the Command Prompt. Has anyone used the Windows Task Scheduler to run .py scripts, and if so isthere some intracacy to it? Is there a more UNIX version of a cron program one can run on Windows? Has anyone written a simple cron...
4
10622
by: keepyourstupidspam | last post by:
Anyone know of a reliable design for a Windows C++ Task Scheduler Class. The scheduler will expose a member function that will add schedules, its parameters will be an interval to run the tasks and a function pointer. This function pointer will be a void* function in other objects that will use the scheduler. So when another object calls the addSchedule function the scheduler will run these tasks at each interval provided. There may...
4
1894
by: LongBow | last post by:
Hello all, I have been working on my first embedded project which has been exciting and stressfull at the same time. My task now is to develop a good scheduler for transmitting ARINC labels. There is about 180 labels that go out over the bus. Each label has a transmission rate of 10 ms to 1000 ms or higher. I need to develop a good scheduler so that each label goes out at their respective transmission rate so they don't time out. I need...
7
15202
by: Shane Story | last post by:
Have an app and would like to allow easy addition of MYAPP.EXE /F /P (for example) my prog with command line args, as a job to be run. Would like to make it easier on the user to run the app. I want to have it run automatically as specified by the user. What is the best thing to do and what platforms would it limit me to?
8
3002
by: VMI | last post by:
I'm searching for a way to build a scheduler that will store its data in sql server. I've searched google but it mostly displays sites that sell scheduler controls. Anyone know of any sites that show more or less how to build a simple scheduler control? Thanks.
1
3964
by: operatingsystem | last post by:
I need to generate such scheduler in operating system subject which satisfy below conditions...may i request u if anybody knows abt this plz help me out in this..topics.. Scheduler specifications: 1. Three queues, highest priority to lowest: RR SJF FIFO 2. All jobs enter RR 3. Job at lower queue cannot execute until higher priority queue is empty
2
2335
by: rivlinp | last post by:
Can anyone help me in writing a scheduler in C ... here is the description of what i want :- Description Create a C program that simulates the scheduler component of an operating system. Your scheduler will be based upon a real-life situation. Select one of the following situations as the processing model for your simulated scheduler: 1. A line at the bank : This involves the use of a single queue but multiple tellers (processors). ...
1
1816
by: Prof. William Battersea | last post by:
I'd like a class method to fire every n seconds. I tried this: class Timed: def.__init__(self): self.t = Timer(3, self.dothing) def.start(self): self.t.start()
5
1765
by: greg | last post by:
sokol wrote: The sched module is *not* designed for multithreading. It assumes that the thread waiting for events is the only one putting events into the queue, so it's impossible for an event to get scheduled while in the midst of a sleep. It also doesn't take any measures to protect its data structures from concurrent access.
0
9793
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10493
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10526
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10206
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9315
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5617
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3960
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.