Macro runs twice?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kneighbour
Newbie
Posts: 4
Joined: Tue Feb 20, 2007 1:56 am

Macro runs twice?

Post by kneighbour » Tue Feb 20, 2007 10:53 pm

My overnight scheduled backup macro ran fine, but it ran twice. And about 2 or 3 minutes apart. I knew this because the backup generated a ZIP file with the date_time as part of the name.

I have Macro Scheduler running in Windows, plus I have selected "Allow Scheduler Service to Run this Macro".

Is it possible that the Service starts the macro, then a few moments later, the Windows GUI starts it again?

Here is an abridged log of the macro run

21/02/2007 02:15:00:656 - Started Macro : Backup MySQL
....macro steps here....
21/02/2007 02:15:01:562 - Started Macro : C:\Documents and Settings\kerry\My Documents\Macro Scheduler\Backup MySQL.scp
---macro starting again
21/02/2007 02:15:02:859 - Finished Macro : C:\Documents and Settings\kerry\My Documents\Macro Scheduler\Backup MySQL.scp
....more macro steps
21/02/2007 02:18:54:921 - Finished Macro : Backup MySQL
Kerry

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 Feb 20, 2007 11:00 pm

With Macro Scheduler running ensure the Scheduler Service is stopped. It should stop when you start Macro Scheduler. Look in Control Panel/Administrative Tools/Services.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

kneighbour
Newbie
Posts: 4
Joined: Tue Feb 20, 2007 1:56 am

Post by kneighbour » Tue Feb 20, 2007 11:53 pm

Yes - that seems to have been the problem. Thanks.
Kerry

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