I have been looking through the help files but I havent found anything that would let me schedule a script to run at a certain time via the command line. Is that even possible?
For Example:
mssched whatever.scp /schedule date=04242003 time=1200PM
Can you schedule scripts via the command line?
Moderators: JRL, Dorian (MJT support)
Hi,
You can't set up schedules like this. You need to have Macro Scheduler running all the time if it is to schedule macros and in that case you would set up the schedule in Macro Scheduler.
However, you can run macros via the command line:
msched.exe macroname
or
msched.exe scriptfile.scp
Therefore you can schedule this method using any other scheduler such as AT or the Task Scheduler that comes with Windows:
AT 23:55 /Every:M,T,W,Th,F,Sa,Su "msched.exe mymacro"
That would set up a schedule in AT.
You can't set up schedules like this. You need to have Macro Scheduler running all the time if it is to schedule macros and in that case you would set up the schedule in Macro Scheduler.
However, you can run macros via the command line:
msched.exe macroname
or
msched.exe scriptfile.scp
Therefore you can schedule this method using any other scheduler such as AT or the Task Scheduler that comes with Windows:
AT 23:55 /Every:M,T,W,Th,F,Sa,Su "msched.exe mymacro"
That would set up a schedule in AT.
MJT Net Support
[email protected]
[email protected]