?
Solved

set program start by itself at midnight

Posted on 2014-04-28
3
Medium Priority
?
475 Views
Last Modified: 2014-04-29
I would want to sent my program start and run by itself at midnight everyday. I am using VB.NET

Thank you

Anthony
0
Comment
Question by:Anthony Matovu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Assisted Solution

by:Utkarsh Kulkarni
Utkarsh Kulkarni earned 668 total points
ID: 40026975
You can create a schedule task for the same. If its an exe file you can directly set the scheduler in Windows.
If it a web application (URL) then you need to write 4 lines VB script & then create schedule to execute this script(which run that URL / Page...e.g. http://www.xxxxx.xxx/schedule/once-a-day.aspx).

Ref for Windows 7 is Schedule a Program
0
 
LVL 8

Assisted Solution

by:Ganapathi
Ganapathi earned 664 total points
ID: 40026978
Create a Setup from your application.

Install it in the system.

Use "Task Scheduler" tool in your machine to Start the program. You can also pass the parameters while scheduling.

Let me know if you need a reference link.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 668 total points
ID: 40026987
When I need to build that kind of application, I always create a Windows form application that can process some tasks and close itself when done. This application is then triggered by a task in the Tasks Scheduler of Windows.

More details on my app at http://emoreau.com/Entries/Articles/2008/11/Passing-arguments-to-an-application-startup.aspx
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question