R
R. Berger
Guest
I am attempting to use schtasks to create some scheduled tasks to run
on a monthly basis but am having trouble figuring out the right syntax
to get the desired behavior. Basically, I want to run a batch file
every day (during the desired date range) starting at a specific
time. Some examples:
I want a batch file to run every 23rd-30th of each month,
starting at 1:00am.
I want a batch file to run every 23rd-30th of each month,
starting at 10:00am.
I want a batch file to run every 15th-21st of each month,
starting at 1:00am.
I want a batch file to run every 15th-21st of each month,
starting at 10:00am.
The day-of-month range would be the same every month. There doesn't
appear to be a way to specify more than one day, or a day range with
the /d parameter. Is the only way to accomplish this to create a
separate scheduled task for each day of my desired range? Thanks in
advance for any help.
Roy Berger
on a monthly basis but am having trouble figuring out the right syntax
to get the desired behavior. Basically, I want to run a batch file
every day (during the desired date range) starting at a specific
time. Some examples:
I want a batch file to run every 23rd-30th of each month,
starting at 1:00am.
I want a batch file to run every 23rd-30th of each month,
starting at 10:00am.
I want a batch file to run every 15th-21st of each month,
starting at 1:00am.
I want a batch file to run every 15th-21st of each month,
starting at 10:00am.
The day-of-month range would be the same every month. There doesn't
appear to be a way to specify more than one day, or a day range with
the /d parameter. Is the only way to accomplish this to create a
separate scheduled task for each day of my desired range? Thanks in
advance for any help.
Roy Berger