Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - ScheduledDefrag running when it shouldn't be!

Reply
 
Old 08-24-2007   #1 (permalink)
Rob P


 
 

ScheduledDefrag running when it shouldn't be!

I have the default defrag scheduled for 01:00am every Wednesday, which is
fine. I understand that if the PC is shutdown then this defrag continues
after it starts up once the PC is idle.

So, the defrag was scheduled to start wed 22/8.

From the "Computer Management" console window I select "System Tools -> Task
Scheduler" which displays the task status of all scheduled tasks. I can see
here the following entries:

Task Name Run Result Run Start Run End
- ScheduledDefrag (last run was stopped at 24/08/2007 10:32:21)
ScheduledDefrag Stopped 24/08/2007 10:29 24/08/2007
10:32
SchedulesDefrag Stopped 24/08/2007 09:15 24/08/2007
09:17
ScheduledDefrag Success 23/08/2007 19:24 23/08/2007
19:56

The question is, why, if the scheduled Defrag succeeded on the 23/08/2007
19:56 is it running again on the 24/08/2007?


In the Active Tasks section of the window, I can see the entry:
Task Name Next Run Time Triggers
ScheduledDefrag 29/08/2007 01:00 At 01:00 every Wednesday


Can anyone help me understand why defrag is running again?

Thanks,

Rob


My System SpecsSystem Spec
Old 08-24-2007   #2 (permalink)
BillD


 
 

RE: ScheduledDefrag running when it shouldn't be!



"Rob P" wrote:

> I have the default defrag scheduled for 01:00am every Wednesday, which is
> fine. I understand that if the PC is shutdown then this defrag continues
> after it starts up once the PC is idle.


defrag works in this way:
1. it begins to work at scheduled time, if you're not using your PC;
2. you have a coffee break, then defrag will start
3. you return using your PC, then defrag will pause
4. you go to restroom, then defrag will continue to work
etc.
.... until the disk is defragmented.
So the defrag is executed at steps, during severals days when you're not
using your PC.
My System SpecsSystem Spec
Old 08-24-2007   #3 (permalink)
Rob P


 
 

RE: ScheduledDefrag running when it shouldn't be!

Thanks Bill,

I understand that, but I thought that "Success" meant that the task had
completed. Then it seems to have started again - before the next scheduled
date. That's the part I don't understand..

/Rob

"BillD" wrote:

>
>
> "Rob P" wrote:
>
> > I have the default defrag scheduled for 01:00am every Wednesday, which is
> > fine. I understand that if the PC is shutdown then this defrag continues
> > after it starts up once the PC is idle.

>
> defrag works in this way:
> 1. it begins to work at scheduled time, if you're not using your PC;
> 2. you have a coffee break, then defrag will start
> 3. you return using your PC, then defrag will pause
> 4. you go to restroom, then defrag will continue to work
> etc.
> ... until the disk is defragmented.
> So the defrag is executed at steps, during severals days when you're not
> using your PC.

My System SpecsSystem Spec
Old 08-24-2007   #4 (permalink)
Rob P


 
 

RE: ScheduledDefrag running when it shouldn't be!

Found the history data under the properties for the task. It's a bit of a
mess filled with lots of errors regarding failed task starts due to already
running instances.. Think somehow I've got multiple tasks trying to run at
the same time - not sure why though!

I'm going to temporarily turn off the scheduling to try to clear out the
active tasks...

/Rob

"Rob P" wrote:

> Thanks Bill,
>
> I understand that, but I thought that "Success" meant that the task had
> completed. Then it seems to have started again - before the next scheduled
> date. That's the part I don't understand..
>
> /Rob
>
> "BillD" wrote:
>
> >
> >
> > "Rob P" wrote:
> >
> > > I have the default defrag scheduled for 01:00am every Wednesday, which is
> > > fine. I understand that if the PC is shutdown then this defrag continues
> > > after it starts up once the PC is idle.

> >
> > defrag works in this way:
> > 1. it begins to work at scheduled time, if you're not using your PC;
> > 2. you have a coffee break, then defrag will start
> > 3. you return using your PC, then defrag will pause
> > 4. you go to restroom, then defrag will continue to work
> > etc.
> > ... until the disk is defragmented.
> > So the defrag is executed at steps, during severals days when you're not
> > using your PC.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Problems running slow after update, IE but expecially running any Vista music pictures video
More able to directly connect an XP running computer and a Vista x64 running one Network & Sharing
Running VPC from a VHD Virtual PC
scheduleddefrag ends with 0x1f "last run result"; Vista Home Premi Vista General
CPU running at max when running programs Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46