i am using a form asp.net that set the inputs as shown in the picture attached.
i need to transalte this picture to running as a timer
Regards
Main Topics
Browse All TopicsDear Experts,
I have made an interface to build a schedule summary like sql server job schedule window when you create a new one. and i save all user settings in a database in sql server, so now i am going to make a new windows service or a program using vb.net to read all records from database and run those jobs, so is there a way to take the befinit from windows schedule to run those jobs or should i use a timer to do this, if will do it using my code, please can you tell me what is the best way to do it?
Regards
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
So what is wrong with coding? Start coding.
It seems that you need the whole code rather than trying to solve a problem...
Here are some source codes from codeproject.com
http://www.
http:
And
http://ww
Okay, i know that i need to write whole code, but as you know i am saving those schuduling tasks in a table as a rows, means each row as a schedule task that contains a field (three types : txt path, or xml path or sql select statment) to be exucuted on each triggering that match the time. not like exe path or somthing like that. only executing somthing like sql statement. is it possible using those library to make it a custom.
Regards
How come puting for example the sql statment in place of Application Name of the Task Class to be executed and perform a connection to database or executing reading from a file if the row type of field (txt) means i must execute read a txt file from a path that exists in some fields of the same record, and if there is a new task job add in my database i must reflect the concurnet tasks avaiable here while it's running. I think it's hard to do all this customization that meas i must do it from the scratch, isn' it?
Thanks for replying.
Sorry, i couldn't find the that event that you talked about, when i debug the application it seems the library just create a job in windows Scheules Tasks and give it a scheule to run and then save it as a file. and here it finished. and then Windows is only responseible for running this job not my program.
Regards
I am using this library http://www.codeproject.com
Sorry, those libraries use Windows Task Schedule to execute an executable file. You can put the part of your code into a exe file and schedule to run it.
Also have a look as this code, http://www.codeproject.com
It has timer_Fire event.
>>You can put the part of your code into a exe file and schedule to run it.
I think that i will do, i will make an other exe and pass a paramenter to it whitch is the record id to run and in the exe i just read that record id of the table and execute my code.
What do you think it will affect the performance of the server runing this exe if there is mulitple timespan to run this exe.
Regards
>>What do you think it will affect the performance of the server runing this exe if there is mulitple timespan to run this exe.
If you need to run the exe file frequently, it is not a good idea to execute the file so frequently.
But if it is not so frequent, it would be OK.
In case you need to continuously run your code, it would be better not to use a different process and create and execute it each time.
Business Accounts
Answer for Membership
by: Mortaza_doulatyPosted on 2009-08-15 at 05:23:59ID: 25105142
You can have your own exe file written in VB .NET, then use Window Task Schedule to schedule your exe file to run as you desire.
You can also use some third-party scheduling libraries found on sites like codeproject.com