Scheduled Tasks check

If you have information, script, utility, or idea that can be useful for HostMonitor community, you welcome to share information in this forum.
YG
Posts: 4
Joined: Fri Sep 03, 2010 12:23 pm

Post by YG »

Thank you for your help!
Please let us know if the differeent utility for Server 2008 is created.
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You do not want to use script?

Regards
Alex
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

New version of this utility located at the same place
www.ks-soft.net/download/utils/schtaskcheck.zip
some authentication related problems were fixed in this version

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Should this utility work on W2K8R2?

Because I get an error :
ScriptRes:Bad:Cannot find task "Test_Task"; Error Code: 80070002

Of course, "Test_Task" does exist :wink:
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

No, it does not work on Windows 2008.
But there is script that works (listed in this thread on 1st page).

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

I wrote a tiny program that will read a scheduled task result on w2k8 r2.
It will return the decimal value of the last result both to the console and as errorlevel on exit.

It uses schtasks.exe from w2k8 r2 and needs to be run from a w2k8 r2 server.

If anyone is interested: it can be downloaded here:
http://www.cyberwork.nl/str.zip

No support! No warranty!
Post Reply