SEMA
28-Apr-2009, 08:42 AM
I`m using the following bat and *.txt to start multiple BC-jobs.
Unfortunately the jobs are not ending automatically. Under Options -> Scripting "Close when done" is set. I have to kill the bc-task after each "call" from this batchfile. Then it will go on.
It doesn`t matter if I choose /silent or not
Where is the error?
The batchfile:
Echo Sync Groups
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Group_sync.txt"
Echo Sync Media
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Media_sync.txt"
Echo Sync Support
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Support_sync.txt"
Echo Sync Translation
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Translation_sync.txt"
Echo Sync Technics
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Technics_sync.txt"
more Synclog_Groups.txt >Synclog.txt
more Synclog_Media.txt >>Synclog.txt
more Synclog_Support.txt >>Synclog.txt
more Synclog_Translation.txt >>Synclog.txt
more Synclog_Technics.txt >>Synclog.txt
blat.exe Synclog.txt -server xxx.xxx.xxx.xxx -f administrator@xxxxx.de -subject "BC-Job vom %date:~0% - %time:~0,8% Uhr" -to me@xxxxx.de
Here is one of the the scripts:
option confirm:yes-to-all
# Turn logging on
log normal "C:\Programme\Beyond Compare 3\Synclog.txt"
# Set comparison criteria
criteria binary
# Load the base folders
load "\\xxxxxxx\original\" "N:\copy"
#Make the target identical to the source
#includes deleting files that only exist on the target side
sync mirror:lt->rt
In the beginning I ran all the jobs above as one single job and it worked fine. But the files are too much now. BC ends with "Out of memory" error.
Best regards
Joa
Unfortunately the jobs are not ending automatically. Under Options -> Scripting "Close when done" is set. I have to kill the bc-task after each "call" from this batchfile. Then it will go on.
It doesn`t matter if I choose /silent or not
Where is the error?
The batchfile:
Echo Sync Groups
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Group_sync.txt"
Echo Sync Media
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Media_sync.txt"
Echo Sync Support
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Support_sync.txt"
Echo Sync Translation
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Translation_sync.txt"
Echo Sync Technics
call "C:\Programme\Beyond Compare 3\BCompare.exe" /silent @"C:\Programme\Beyond Compare 3\Technics_sync.txt"
more Synclog_Groups.txt >Synclog.txt
more Synclog_Media.txt >>Synclog.txt
more Synclog_Support.txt >>Synclog.txt
more Synclog_Translation.txt >>Synclog.txt
more Synclog_Technics.txt >>Synclog.txt
blat.exe Synclog.txt -server xxx.xxx.xxx.xxx -f administrator@xxxxx.de -subject "BC-Job vom %date:~0% - %time:~0,8% Uhr" -to me@xxxxx.de
Here is one of the the scripts:
option confirm:yes-to-all
# Turn logging on
log normal "C:\Programme\Beyond Compare 3\Synclog.txt"
# Set comparison criteria
criteria binary
# Load the base folders
load "\\xxxxxxx\original\" "N:\copy"
#Make the target identical to the source
#includes deleting files that only exist on the target side
sync mirror:lt->rt
In the beginning I ran all the jobs above as one single job and it worked fine. But the files are too much now. BC ends with "Out of memory" error.
Best regards
Joa