Re: Windows "Scheduled Task Wizard..."



Pegasus,
You are great. I have implemented the code as per your suggestion. It works
for me.
By the way... what is this script is called? Is it simple DOS commands?
Where I can learn more about this scripting language? Any link to this
resource will be of great help.
Thank you,
Smith


"Pegasus (MVP)" wrote:

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




.



Relevant Pages

  • Re: Synchornize date script
    ... I create an account called schedule, ... the script works just fine. ... synchronize with external time source. ...
    (microsoft.public.scripting.vbscript)
  • Re: Problem deleting a printer object
    ... I tested out the script suggested by JHP. ... Dim strComputer, objWMI, objPrinter, objWSH, rtnPrinter ... Windows 2000 workstations, Windows XP can handle this without a problem. ... was hoping that someone out there might have a suggestion. ...
    (microsoft.public.scripting.vbscript)
  • Re: FTP delete problem
    ... 220 Microsoft FTP Service ... 200 PORT command successful. ... If i manually execute the script, the output wrote, but by schedule isn't ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: EXAMPLE -- Re: Strange issue with `CHOMP not working...
    ... It is not a "why is my perl 101 assignment script not ... opening but not closing files, and second creating a cache (hash of ... suggestion that I was looking for. ... If my problems reoccur, as they may, I will put that ...
    (comp.lang.perl.misc)
  • Re: Junk email schedule wont run
    ... Open /Applications/AppleScript/Script Editor. ... Paste this script into a new script window: ... Add this action to the offending schedule: ... Did your computer beep? ...
    (microsoft.public.mac.office.entourage)

Loading