Scheduled Task Important To Know

G

Guest

I asked about defraging in the Scheduled tasks not to long ago. Someone told
me how to do it but he was incorrect and it did not work. Basically what I
want to do is get my computer to automatically defrag drive C:, do a disk
cleanup, scan with Norton Anti-virus 2004, and scan with spyBot- S&D. i want
this all to be done at different times in the night while no body is logged
on to the computer. So I figured out that I have to type in the Run box,
defrag C:/ -f
but at night, its at the log in screen. If I make my computer defrag at
night, and log in as my username, will it log off after all the tasks are
done? I don't want to come into the office in the morning to find that I;m
still logged on.
 
W

WTC

thunderstruck_302 said:
I asked about defraging in the Scheduled tasks not to long ago. Someone
told
me how to do it but he was incorrect and it did not work. Basically what I
want to do is get my computer to automatically defrag drive C:, do a disk
cleanup, scan with Norton Anti-virus 2004, and scan with spyBot- S&D. i
want
this all to be done at different times in the night while no body is
logged
on to the computer. So I figured out that I have to type in the Run box,
defrag C:/ -f
but at night, its at the log in screen. If I make my computer defrag at
night, and log in as my username, will it log off after all the tasks are
done? I don't want to come into the office in the morning to find that I;m
still logged on.


Configure a shut down command after the scans are complete in the Task
Scheduler. The shutdown command will log you out, the commands are

shutdown -l (to logout)
shutdown -s (shutdown)
shutdown -r (restart)

or type shutdown /? in the command prompt for more switches.

Good Luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top