A schedule task shows it completed successfully, but it really did not. How can I fix this?
The task I have set up runs the following actions in the image:
The task executes a SQL script file to backup the database to drive E:\ which is an external drive.
When E:\ is not present, obviously the task cannot be completed, but the task scheduler still show that the actions completed successfully.
I'm assuming that the task scheduler is just saying "I was able to execute the script file with the program specified, so it was successful," but that's really not what I am after.
I need to know if the tasks inside the script that the task scheduler is
running actually completed.
Is there something I can do to signal if the task was successful or not so that the task scheduler reports correctly?
Anwsers to the Problem A schedule task shows it completed successfully, but it really did not. How can I fix this?
I know it can be done if you use a batch file that uses Exit codes (I'm sure other types of scripts have completion codes, but I'm not familiar with most other types of scripts).
You might want to check with the developer/scripting forums over at the Microsoft Developer Network. Those MSDN forums are more geared to this, while this community is more consumer focused.
Using System Restore
- Click on the Start button on the Taskbar.
- Type "System Restore" (without quotes) in the Search box and hit Enter or,
- Click on System Restore (when you see System Restore pop up in the list of search results).
- Make sure the "Recommended restore" radio button is checked on the restore utility window.
- Click on Next and follow the instructions given.
Note: There is the option on the restore utility to select "Choose a different restore point". Unless you have a specific reason to select a different date and time than what Windows recommends, just select the recommended option stated in the steps above. If you choose to select another one, follow these steps:Click on that desired date and time, and Windows 7 will perform a scan for any affected programs in that restore point.
Once completed, click Next and follow the instructions given.
Once you have selected the restore point, your system will start the restoring process, after which you will have to restart the system.
Another Safe way to Repair the Problem: A schedule task shows it completed successfully, but it really did not. How can I fix this?:
How to Fix A schedule task shows it completed successfully, but it really did not. How can I fix this? with SmartPCFixer?
1. Download Error Fixer . Install it on your system. Click Scan, and it will perform a scan for your computer. The errors will be shown in the scan result.
2. After the scan is finished, you can see the errors and problems which need to be repaired.
3. The Fixing part is done, the speed of your computer will be much higher than before and the errors have been fixed.
Related: [Solved] Applications have stopped working with SP1 on Windows 7!,[Solved] I can't find auto complete text in word 2007,[Solution] I need to keep reinstalling eHome Infrared Transceiver driver everytime my computer shuts down.,How to Resolve - system restore not working windows 7?,Unable to open embedded word file on the intranet. [Solved],Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,[Anwsered] Thinkpad 8611 Boot,How to Resolve - Svchost Helper?,Fast Solution to Problem: L30 101 Driver Windows 7,Troubleshooter of Error: Io Device,How to Fix Error - Dell Laptop Code 39?
Read More: Troubleshoot:A jscript compilation error's dialog box\/notification appears upon turning on my computer. Error,How to Fix Problem - a blackberry was connected to our computer which has windows xp now the administrator of the blackberry took over and we cant sign on the internet?,Solution to Error: 81000001 error code comes up when I try to backup to ext. drive. How do I fix it with Windows Vista?,Troubleshooter of Error: Ability to Use Flash on IE 32-bit Not 64-bit IE,How to Resolve - Accessing Sub Domains?,Cannot delete empty file icon on desktop...,Cannot download flashplayer,can't get the CIA review progrom install which is an older version,Cannot access one website-DNS server not responding.,Can't Receive or Send Vista Windows Mail - Router stopped recognizing DSL connection & wants to dial up