You need to sign in to do that
Don't have an account?
The_A-Rod
Wait for first process to end in batch file for dataloader
the following batch file i have written below seems to run the two beans for my process at the same time.
Is there a way to ensure that the first bean is finished, before running the 2nd?
C:
cd C:\Program Files (x86)\salesforce.com\data loader\bin\
start process.bat "\\fsdata01\Department\eCommerce\BIU\Salesforce\Dataloader\Dev\3rd test" GCDentityupsert
start process.bat "\\fsdata01\Department\eCommerce\BIU\Salesforce\Dataloader\Dev\3rd test" extrefinsert
Exit
Is there a way to ensure that the first bean is finished, before running the 2nd?
C:
cd C:\Program Files (x86)\salesforce.com\data loader\bin\
start process.bat "\\fsdata01\Department\eCommerce\BIU\Salesforce\Dataloader\Dev\3rd test" GCDentityupsert
start process.bat "\\fsdata01\Department\eCommerce\BIU\Salesforce\Dataloader\Dev\3rd test" extrefinsert
Exit
Andy Boettcher
try this:
The /WAIT parameter will pause subsequent execution until the command has terminated. The_A-Rod
That doesn't quite work, one just doesn't run at all. I think the problem is that two separate cmd windows open up, rather than the two processes running in the same window one after the other.
Andy Boettcher
What is that "process.bat" file?
The_A-Rod
it's the standard process file to launch the dataloader process. Which i have not touched
Andy Boettcher
Hey hey hey! Check out this board post: https://developer.salesforce.com/forums?id=906F00000008o6WIAQ