Search found 4 matches

by kneighbour
Tue Feb 20, 2007 11:53 pm
Forum: Technical / Scripting
Topic: Macro runs twice?
Replies: 2
Views: 4558

Yes - that seems to have been the problem. Thanks.
by kneighbour
Tue Feb 20, 2007 10:53 pm
Forum: Technical / Scripting
Topic: Macro runs twice?
Replies: 2
Views: 4558

Macro runs twice?

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 ...
by kneighbour
Tue Feb 20, 2007 2:30 am
Forum: Technical / Scripting
Topic: Some variables not expanding
Replies: 3
Views: 5094

You need to remove the spaces from either side of the "=" LET>backup_path = f:\backups\MySQL Let>filename = test_%the_year%%the_month% (It doesn't break it but it's less confusing if you stick the the same case for the variable names too.) Yes - thanks. I just worked that out also. You would think ...
by kneighbour
Tue Feb 20, 2007 2:06 am
Forum: Technical / Scripting
Topic: Some variables not expanding
Replies: 3
Views: 5094

Some variables not expanding

LET>backup_path = f:\backups\MySQL Month>the_month Year>the_year Let>filename = test_%the_year%%the_month% Let>runcommand ="C:\Program Files\winrar\rar.exe" a -r %BACKUP_PATH%\%FILENAME% "C:\Program Files\Navicat MySQL\SecureDoc\*.*" Let>MSG_STAYONTOP=1 MessageModal>filename This script does not wor...
Sign up to our newsletter for free automation tips, tricks & discounts