?
Solved

schedlue task

Posted on 2004-03-20
2
Medium Priority
?
301 Views
Last Modified: 2010-04-13
i want to close have a scheuled task close an application at a certain time, how can i do that.

the application is named ftp voyager
0
Comment
Question by:finnstone
[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
2 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 10641488
MMmm if there are no specific commands to start and stop this, Id register the program as a service, the you can schedule a net stop servicename and a net start servicename

How to run a program as a Service


The Windows NT Resource Kit provides two utilities that allow you to create a Windows NT user-defined service for Windows NT applications and some 16-bit applications (but not for batch files).

Instrsrv.exe installs and removes system services from Windows NT and Srvany.exe allows any Windows NT application to run as a service.


HOWTO: Create a User-Defined Service
http://support.microsoft.com/default.aspx?scid=kb;en-us;137890

**********

To remotely create and start a service from the command line, you can use the SC tool (Sc.exe) included in the Resource Kit.

Although you can use the Netsvc.exe and Instsrv.exe tools to start a service on a remote computer, these tools do not give you the ability to remotely create a service.


How to Create a Windows Service Using Sc.exe
http://support.microsoft.com/?kbid=251192

**********Third Party Solutions**********

Service Mill from http://www.activeplus.com/default.asp?Jump=ServiceMill
FireDaemon from http://www.firedaemon.com/

**********
0
 
LVL 2

Accepted Solution

by:
noamkrief earned 2000 total points
ID: 10643235
here are some tips. I get the feeling you do not want to stop a service. You said "application".
to stop an application you will need to "kill" it. Go to http://www.ppedv.de/dwnld/kill.zip
put kill.exe in your windows directory.

You know how to create a batch file right?
open notepad and type in something like
kill msimn.exe

then save the file as something like test.bat

msimn.exe is for outlook express. How did i know that? open up your application, and open up "windows task manager" Go to the applications tab, right click on the application you want to kill, and click on go to process. This will atomatically go to the process name. That process name needs to go in the batch file as i showed above.

If you do not like windows task scheduler to schedule the execution of the batch file we created, use a small free program called "nncron lite".

Good luck - i hope this helped
Noam
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
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
Course of the Month8 days, 20 hours left to enroll

764 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