Re: Scheduled Tasks / Last Result 0x85 ???

Tech-Archive recommends: Speed Up your PC by fixing your registry




"casall78" <casall78@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8FA02C82-6939-425E-B166-7F87732C6CCC@xxxxxxxxxxxxxxxx
The Last Result of one of my Scheduled Tasks is 0x85. Does anybody know
what
that means? The task was done ok - from my point of view... Thanks, Markos

This code is generated by the commands run by
the scheduled task, not by the scheduler itself. You can
easily find out for yourself by modifying the task like so:

@echo off
echo %date% %time% Start of task > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log
c:\Tools\YourTask.exe 1>>c:\test.log 2>>&1
echo ErrorLevel of the scheduled task=%ErrorLevel% >> c:\test.log
echo %date% %time% End of task >> c:\test.log

Get this task to run under the Task Scheduler, then have
a look at c:\test.log.


.



Relevant Pages

  • Re: Scheduled tasks copied between servers often do not run
    ... the Task Scheduler relies totally on %SystemRoot%\tasks. ... AFAIK no registry entries are involved. ... We are implementing dynamic Job monitoring across all the servers using ... echo %date% %time% Start of task> c:\test.log ...
    (microsoft.public.windowsxp.general)
  • Re: MS Scheduled Task
    ... I do get the following test.log after moving the bat file to my C ... echo %date% %time% Start of task> c:\test.log ... A test.log does not get created when I run it via the scheduler. ... Post your version of the batch file here. ...
    (microsoft.public.windowsxp.general)
  • Re: MS Scheduled Task
    ... Pegasus (MVP) wrote: ... echo %date% %time% Start of task> c:\test.log ... A test.log does not get created when I run it via the scheduler. ...
    (microsoft.public.windowsxp.general)
  • Re: Task Scheduler Fails, But Not All the Time
    ... into the batch file below, ... echo %date% %time% Start of task> c:\test.log ... Now examine the two log files. ... In most Task Scheduler posts the ...
    (microsoft.public.windowsxp.general)
  • Re: Task Scheduler Fails, But Not All the Time
    ... into the batch file below, ... echo %date% %time% Start of task> c:\test.log ... Now examine the two log files. ... In most Task Scheduler posts the ...
    (microsoft.public.windowsxp.general)