Re: Windows "Scheduled Task Wizard..."
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Wed, 26 Sep 2007 07:38:30 +0200
Do this:
- Click Start / Run / notepad.exe c:\Windows\MyTask.bat{Enter}
- Type these lines:
@echo off
echo The day of the month is %date:~7,2%
if %date:~7,2% LSS 25 goto :eof
c:\Tools\MonthLoad.exe
- Save and close the file.
- Test it.
- Invoke it with the Task Scheduler.
The code is dependent on the country you live in. The second
line (which is purely for debugging purposes) is supposed to
show you the day number. If it does not, vary the number "7"
until it does, both in lines 2 and in line 3.
"SmithSmith001" <SmithSmith001@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:890788AB-D43C-45D0-BEA6-9B2E200FCA27@xxxxxxxxxxxxxxxx
Thank you for the solution and suggestion.
How to write the batch commands.
Here is my pseudo code for MonthlyLoad.bat
------------------------------
get day of the month
if day of the month > 25
MonthLoad.exe
-------------------------------
Do not know how to write batch commands for the above.
Any advice is appreciated.
Should I use WSH. or will the vb script will do?
Thank you,
Smith
"SmithSmith001" wrote:
Windows 2000 Professional.
How to schedule a job which runs from 25th of the month to the end of the
month every day once at 7.30 am?
I am not finding the way to schedule one job to meet the above
requirement.
Alternatively, I am scheduling 7 jobs to run 25th to the end of the month
(31st).
Any suggestion?
Thank you,
Smith
.
- Follow-Ups:
- Re: Windows "Scheduled Task Wizard..."
- From: SmithSmith001
- Re: Windows "Scheduled Task Wizard..."
- Prev by Date: Re: Scheduled Tasks limits
- Next by Date: Re: Help on figuring out what workload for what server.....
- Previous by thread: Re: Windows "Scheduled Task Wizard..."
- Next by thread: Re: Windows "Scheduled Task Wizard..."
- Index(es):
Relevant Pages
|
Loading