Scheduling Services to start and stop

This is a discussion about Scheduling Services to start and stop in the Windows Software category; Is there any way to do this with task scheduler. I have not tried it yet i was just wondering. The reason is because i run an FTP server and I defragment my hard drives every night. So when my drives are defragmenting I want to stop the server, and when they are done start it again.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar16.webp

1623 Posts
Location -
Joined 1999-12-06
Is there any way to do this with task scheduler. I have not tried it yet i was just wondering. The reason is because i run an FTP server and I defragment my hard drives every night. So when my drives are defragmenting I want to stop the server, and when they are done start it again.

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.

Responses to this topic


data/avatar/default/avatar03.webp

581 Posts
Location -
Joined 2002-04-27
Net Start "service"
Net stop "service"
 
make them batches, and set task scheduler to run them.
 
Batch files and task scheduler is your friend.

data/avatar/default/avatar16.webp

1623 Posts
Location -
Joined 1999-12-06
OP
ah cool thanks guys.

data/avatar/default/avatar16.webp

1623 Posts
Location -
Joined 1999-12-06
OP
is there any way to tell me what services are running??