function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rcherrcher 

Running multiple jobs through data loader CLI

HI

   I am automating a migration from a lecay CRM to salesforce.com using apex data loader CLI. I  want to schedule three jobs J1,J2 and J3. J2 & J3 should run only after the sucessful execution of J1.I tried doing by setting time lag in windows task scheduler. Is there any other way of going about this?

Hari SharmaHari Sharma

You can DOS batch file to call these job1, job2, and job3 in order, which refers process.bat files available with Apex Data Loader install.  Thereafter, you can schedule this bat file in Windows Task Scheduler.  Thanks.

 

call process "c:\Program Files\salesforce.com\Apex Data Loader 23.0\conf" Job1

rem to_do_error_handling

call process "c:\Program Files\salesforce.com\Apex Data Loader 23.0\conf" Job2

rem to_do_error_handling

call process "c:\Program Files\salesforce.com\Apex Data Loader 23.0\conf" Job3