Start up macro

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Lumumba

Post by Lumumba » Tue Sep 23, 2003 10:37 pm

No. Compiled files aka programs don't need an interpreter.

What OS you're using? Cause W2K/XP should provide a scheduler!
What about AT? Check the forum for that DOS command!

kmorse
Newbie
Posts: 6
Joined: Tue Sep 23, 2003 4:28 pm

Post by kmorse » Tue Sep 23, 2003 10:38 pm

I tried Win2K scheduler and the program wouldn't start.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Sep 23, 2003 10:48 pm

NO....if it is compiled in Macro Scheduler it can go on any machine without Macro Scheduler.

But the scheduling at 3 pm will not work. The compiled file needs to be triggered by a Scheduler program.

kmorse
Newbie
Posts: 6
Joined: Tue Sep 23, 2003 4:28 pm

Post by kmorse » Tue Sep 23, 2003 10:50 pm

Thanks. I will have to see if I can get the Windows scheduler to run it.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Wed Sep 24, 2003 6:54 am

Just do this at the command line:

AT 03:00 /Every:M,T,W,Th,F,Sa,Su c:\path\myexe.exe

It will now run every day at 3am.

(The scheduler service will need to be started of course)
MJT Net Support
[email protected]

kmorse
Newbie
Posts: 6
Joined: Tue Sep 23, 2003 4:28 pm

Post by kmorse » Wed Sep 24, 2003 6:11 pm

First of all, thanks for all the feedback to my question. Now I have another question. I have been able to activate the macro from the Windows Scheduler. As I posted earlier, my macro includes 5 minutes worth of wait time punctuated each minute by a message box warning any user who might be at the machine at 3 a.m. that the machine is going to shut down. The Windows scheduler asks for a domain, user name and password when setting it up. If I use my domain (on a network), name and password, the message boxes appear at one-minute intervals as desired and the machine logs off five minutes after the macro is started. If I supply instead the local machine domain, administrator name and password, I do not get the message boxes, but the machine does log off.
Any ideas out there?

Keith Morse
Denver, CO

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts