How to Schedule a Program to Shutdown??

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

Is there a way to schedule a particular program to shut down at a particular
time/day?

Here is my problem. I am running XP Pro. I am using MobyDock. Which I
LOVE! But for some reason Microsoft Backup doesnot like to run when the
dock is running. So I would like to schedule MobyDock to shutdown, just
before my scheduled backup runs and if possible start back up.

Is there a way to do this?

Before you say try another dock...I have, they were all buggy. This is only
problem I have experienced with MobyDock. BTW-I think the dock uses DX, is
this why the backup errors out?

Thanks in advance,

Craig
 
Craig said:
Is there a way to schedule a particular program to shut down at a particular
time/day?

Here is my problem. I am running XP Pro. I am using MobyDock. Which I
LOVE! But for some reason Microsoft Backup doesnot like to run when the
dock is running. So I would like to schedule MobyDock to shutdown, just
before my scheduled backup runs and if possible start back up.

Is there a way to do this?

Before you say try another dock...I have, they were all buggy. This is only
problem I have experienced with MobyDock. BTW-I think the dock uses DX, is
this why the backup errors out?

Thanks in advance,

Craig

I don't know anything about MobyDock, but I can explain how you can schedule
a program to be closed.

Windows XP has a command line utility 'taskkill' that can be used to shut
down any program. It is quite useful for killing programs that are
misbehaving, and could probably be used for this. To open the command
prompt, click "Start", "Run", and type "cmd" and hit enter. For info on how
to use taskkill, type:

taskkill /?

This will list all the options you an use with taskkill. For example, if I
wanted to kill Notepad, I would type:

taskkill /F /IM notepad.exe

To schedule this to run at a certain time, we'll first need to create an
MS-DOS batch file. At the command line type 'edit c:\killnote.bat' (or any
other 1-8 character filename with a .bat extension) and simply type the
taskkill command in the example above, save, and exit. You can now use the
task scheduler (Start > Programs > Accessories > System Tools > Schedule
Tasks) to run that batch file a few minutes before your backup is supposed
to start.

Let us know if this helps =)

-BC
 
Wow thanks for the quick response. This definitely will work for me. I do
have one more question though.

Will windows or the program suffer any "ill" effects by killing the program
this way (once a week before my backup runs)?

If so are there other alternatives? Like scripting? I would be willing to
learn a little of that if it works better.

Thanks again,

Craig
 
Craig said:
Wow thanks for the quick response. This definitely will work for me. I do
have one more question though.

Will windows or the program suffer any "ill" effects by killing the program
this way (once a week before my backup runs)?

If so are there other alternatives? Like scripting? I would be willing to
learn a little of that if it works better.

Thanks again,

Craig



if

This shouldn't cause any ill effects. There may be other alternatives out
there like 3rd party schedulers that can get the job done, but that's just
speculation. You'd just have to google around for something like that. As
far as scripting, well, I'm not a programmer so I couldn't help ya there =)

-BC
 
Thanks again Basket. I have done some google searching and haven't come up
with anything better/easier than what you gave me.

Thanks again.

Craig
 
Back
Top