You need to sign in to do that
Don't have an account?
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
try this:
The /WAIT parameter will pause subsequent execution until the command has terminated. 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.
What is that "process.bat" file?
it's the standard process file to launch the dataloader process. Which i have not touched
Hey hey hey! Check out this board post: https://developer.salesforce.com/forums?id=906F00000008o6WIAQ