Re: Scheduled tasks won't start
- From: "Rafi Hecht" <rhecht@xxxxxxxxx>
- Date: 5 Dec 2005 10:54:12 -0800
Since I can't attach files, here's a copy/paste of what happened:
I created an eyes.bat file using your code (you told me to "create
eyes"):
@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>c:\test.err
echo ErrorLevel of c:\Tools\YourTask.exe=%ErrorLevel% >> c:\test.log
echo %date% %time% End of task >> c:\test.log
And I got this from "test.err":
The system cannot find the path specified.
And this from "test.log":
Sun 12/04/2005 12:03:00.06 Start of task
User=Administrator, Path=
ErrorLevel of c:\Tools\YourTask.exe=3
Sun 12/04/2005 12:03:00.10 End of task
That's it plain and simple. What could I possibly have done wrong, and
what can I do to correct it?
.
- Follow-Ups:
- Re: Scheduled tasks won't start
- From: Pegasus
- Re: Scheduled tasks won't start
- References:
- Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- From: Pegasus \(MVP\)
- Re: Scheduled tasks won't start
- From: Rafi Hecht
- Re: Scheduled tasks won't start
- From: Pegasus \(MVP\)
- Scheduled tasks won't start
- Prev by Date: Re: Scheduled Event ?
- Next by Date: Re: cannot reuse a tape which was being used in linux tar backup job
- Previous by thread: Re: Scheduled tasks won't start
- Next by thread: Re: Scheduled tasks won't start
- Index(es):
Relevant Pages
|