Problem of executing .scp file at startup in XP

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
jiby
Junior Coder
Posts: 30
Joined: Fri Feb 26, 2010 12:26 pm

Problem of executing .scp file at startup in XP

Post by jiby » Tue Jun 15, 2010 1:45 pm

hi,

I have 'msched' process running all the times in background. I have created a macro script and copied to Windows\...\startup folder. After system gets rebooted, I expect the copied script to be executed automatically.

But, 3 out of 5 times, copied script doesnt get executed automatically. When I kill the background 'msched' process, copied script gets executed. Please help me in executing the copied script, even when background 'msched' process is running.

thanks
jiby

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Tue Jun 15, 2010 2:32 pm

How are you running the script? This might be the issue.


Another method would be to compile the script into an EXE and put that EXE into the startup folder.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Jun 15, 2010 2:38 pm

If you want the macro to run on startup you do not need to copy anything to the startup folder. Assuming Macro Scheduler is already set to run on startup just go into Macro Properties for the macro in question, click on the "Run When" tab and then click on "Advanced Options" and then check "Run Immediately Anyway" under "When System Restarts". It will now run when Macro Scheduler starts.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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