From: J Tinsby on 2 Mar 2010 11:25 Hello, I have been trying, with little or no success, to get TS to run my Auslogic defrag program once a week. Seems that no matter what I do it won't start, BUT..... it did once as the log shows. After that at the appointed time it never runs. In the RUN line I have "C:\Program Files\Auslogics\Auslogics Disk Defrag\cdefrag.exe" C: D: -bk The START IN box is blank The exerpt from the log on the day it ran successfully is: "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" (cdefrag.exe) Started 2/22/2010 10:00:12 AM "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" (cdefrag.exe) Finished 2/22/2010 10:01:09 AM Result: The task completed with an exit code of (0). Note that I did not create the run line, it was put there when I installed the Auslogic program. I only need the program to run once a week, I have also tried having it wake up the machine from S3 standby, or from totally OFF, but that doesn't work either. What can I do to make it work as it should? I am using XP Pro with SP3 and all updates installed. Thank you very much for any help you might give me. J Tinsby
From: John John - MVP on 2 Mar 2010 11:38 J Tinsby wrote: > Hello, > > I have been trying, with little or no success, to get TS to run my > Auslogic defrag program once a week. Seems that no matter what I do it > won't start, BUT..... it did once as the log shows. After that at the > appointed time it never runs. > > In the RUN line I have "C:\Program Files\Auslogics\Auslogics Disk > Defrag\cdefrag.exe" C: D: -bk > > The START IN box is blank > > The exerpt from the log on the day it ran successfully is: > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Started 2/22/2010 10:00:12 AM > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Finished 2/22/2010 10:01:09 AM > Result: The task completed with an exit code of (0). > > Note that I did not create the run line, it was put there when I > installed the Auslogic program. > > I only need the program to run once a week, I have also tried having > it wake up the machine from S3 standby, or from totally OFF, but that > doesn't work either. > > What can I do to make it work as it should? I am using XP Pro with SP3 > and all updates installed. > > Thank you very much for any help you might give me. Is your account password protected? Scheduled Tasks wont run properly if your account is not password protected. John
From: Jose on 2 Mar 2010 13:28 On Mar 2, 11:25 am, J Tinsby <n...(a)present.com> wrote: > Hello, > > I have been trying, with little or no success, to get TS to run my > Auslogic defrag program once a week. Seems that no matter what I do it > won't start, BUT..... it did once as the log shows. After that at the > appointed time it never runs. > > In the RUN line I have "C:\Program Files\Auslogics\Auslogics Disk > Defrag\cdefrag.exe" C: D: -bk > > The START IN box is blank > > The exerpt from the log on the day it ran successfully is: > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Started 2/22/2010 10:00:12 AM > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Finished 2/22/2010 10:01:09 AM > Result: The task completed with an exit code of (0). > > Note that I did not create the run line, it was put there when I > installed the Auslogic program. > > I only need the program to run once a week, I have also tried having > it wake up the machine from S3 standby, or from totally OFF, but that > doesn't work either. > > What can I do to make it work as it should? I am using XP Pro with SP3 > and all updates installed. > > Thank you very much for any help you might give me. > > J Tinsby Let's make sure your Scheduled Tasks mechanism is sound first using a simple test, then try to fix your Auslogics. I have not used Auslogics in a while, and I may install it after you complete these tests if you still have a problem. Some applications you may want to schedule at a convenient time require user intervention (answering questions via the keyboard). Does your application have options to run unattended and is it designed to run as an unattended scheduled task? It is strongly suggested that the task be assigned to a user that has a password (I would not use the Administrator account), so create a new user with a password just for scheduled tasks or add a password to your account if needed. You can temporarily assign yourself a PW to test and worry about this later. If your login does not use a password, you should assign a password to your currently logged in account right now - at least temporarily for the following tests. You can remove the password later if you want. If you don't use an account with a password, you will get an error trying to create the task. It will still be created, but will not run properly. There is a way around this, but get this working first to be sure your mechanism is not afflicted. Stop the Task Scheduler service. Delete or rename the probably cluttered ST log file: c:\windows\schedlgu.txt Restart the Task Scheduler service to create a new log and take a look at it with a text editor. Browse to the folder where the STs are stored: c:\windows\tasks Here you will see all your STs and pay attention to the different column headings that are particular to this folder. The Next Run Time, Last Run Time, Status and Last Results columns are of interest. You can also click Advanced and view the log. Choose to Add Scheduled Task. Create a new task to run Command Prompt once, now using the same login and password as the account you are currently logged in. If you don't use a password, you will get an error trying to create the ST (more on that later). The ST will be created, but it will never run. Right click the new Command Prompt task and choose Run and a command window should open immediately. If not, something is wrong. If yes, your mechanism is sound. Look in the log file to see your results. You know how to remove the log now, so that is up to you. Be sure the Task Scheduler service is running again and try to get your afflicted task working. Add or change your desired task Properties using the same credentials (user and password) that was used when you created the task to run the command prompt task - since you know that works okay. Try to Run your new or troublesome task, observe the columns, and the log. If your task fails to run manually, the errors in the log file are the clues to what to do next.
From: Jose on 2 Mar 2010 14:27 On Mar 2, 11:25 am, J Tinsby <n...(a)present.com> wrote: > Hello, > > I have been trying, with little or no success, to get TS to run my > Auslogic defrag program once a week. Seems that no matter what I do it > won't start, BUT..... it did once as the log shows. After that at the > appointed time it never runs. > > In the RUN line I have "C:\Program Files\Auslogics\Auslogics Disk > Defrag\cdefrag.exe" C: D: -bk > > The START IN box is blank > > The exerpt from the log on the day it ran successfully is: > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Started 2/22/2010 10:00:12 AM > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Finished 2/22/2010 10:01:09 AM > Result: The task completed with an exit code of (0). > > Note that I did not create the run line, it was put there when I > installed the Auslogic program. > > I only need the program to run once a week, I have also tried having > it wake up the machine from S3 standby, or from totally OFF, but that > doesn't work either. > > What can I do to make it work as it should? I am using XP Pro with SP3 > and all updates installed. > > Thank you very much for any help you might give me. > > J Tinsby Okay - I installed Auslogics, set up a ST and ran it manually on various drives, then let it run itself automatically (I set the time 5 minutes into the future and waited). My ST log has entries that look similar to yours, but my job ran longer with a 40GB drive about 50% full: "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" (cdefrag.exe) Started 3/2/2010 1:55:23 PM "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" (cdefrag.exe) Finished 3/2/2010 2:10:46 PM This makes sense - the Auslogics shouldn't be writing to the Windows ST log file... that is just for ST information, not too much about what actually happens with the application behind the task - that is a different log. The results of the Auslogics effort are stored in the user profile folder for the user that installed Auslogics, which for me is here: C:\Documents and Settings\Jose\Application Data\Auslogics\Disk Defrag \Logs There is a nice HTML report you can open in your browser to see how it went. When you set up the job in Auslogics there is a link to click to take you right to the log files. You should also read up on the "rules" for Auslogics and how it decides if your drive needs attention or not and how it might be time to run according to the ST schedule, but Auslogics may decide it is not the right moment to run the defrag because of other things.
From: Lem on 2 Mar 2010 14:35 J Tinsby wrote: > Hello, > > I have been trying, with little or no success, to get TS to run my > Auslogic defrag program once a week. Seems that no matter what I do it > won't start, BUT..... it did once as the log shows. After that at the > appointed time it never runs. > > In the RUN line I have "C:\Program Files\Auslogics\Auslogics Disk > Defrag\cdefrag.exe" C: D: -bk > > The START IN box is blank > > The exerpt from the log on the day it ran successfully is: > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Started 2/22/2010 10:00:12 AM > "Auslogics Boost Speed Disk Defrag Console Defragmentation.job" > (cdefrag.exe) > Finished 2/22/2010 10:01:09 AM > Result: The task completed with an exit code of (0). > > Note that I did not create the run line, it was put there when I > installed the Auslogic program. > > I only need the program to run once a week, I have also tried having > it wake up the machine from S3 standby, or from totally OFF, but that > doesn't work either. > > What can I do to make it work as it should? I am using XP Pro with SP3 > and all updates installed. > > Thank you very much for any help you might give me. > > J Tinsby TS can be finicky about what it runs. Sometimes, I've been able to resolve a situation such as you describe (it used to work, but now it doesn't) by deleting the task and then re-creating it. Or try this: - Start event viewer (Start > Run > eventvwr.exe) - Clear the Application and System logs - Open Task Scheduler, right click your desired task and select "Run" - Go back to the event viewer and see what the error message is. If you didn't close event viewer, select one of the logs, then click on "Refresh" in the "Actions" menu. If you can't figure out the problem yourself from the error message, click on the icon just below the up/down arrows in the "Event Properties" display and then paste into your next post. -- Lem Apollo 11 - 40 years ago: http://www.nasa.gov/mission_pages/apollo/40th/index.html
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: What is locking the partition Next: installing xp brings a blue screen |