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
Abhishek Raj 23Abhishek Raj 23 

Schedule data loader using command prompt

Hi,

I was trying to schedule data loader using cmd in windows. Below is the .bat file I am using for scheduling.

@echo "off"
cls 
cd "C:\Program Files (x86)\salesforce.com\Data Loader\bin"
CALL process01.bat "C:\Users\Abhishek Raj\Desktop\DataLoader" "currencyInsert" 
Pause

where path after cd is the location of data loader, 
process01.bat is the batch file and after that is the path of the batch file. 
currencyInsert Process Name in Process-conf.xml

Please help me figure out if anything is wrong or missing in this batch file because data loader is not getting scheduled.

Thankyou
Ajay K DubediAjay K Dubedi
Hi Abhishek,

Take the last \ off of your path to the process-conf.xml file so that your command line looks like this:

process.bat "C:\Users\JJ\Documents\Salesforce Implementation\Oracle Data" noParentAccounts

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
Abhishek Raj 23Abhishek Raj 23
Hi Ajay,

In the batch file no where I have given path of process-conf.xml file . As mentioned above 
  
path after cd is the location of data loader, 
process01.bat is the batch file and after that is the path of the batch file
currencyInsert Process Name in Process-conf.xml

Also in the paths which I have used there is no "\" at last. Let me know if I am getting anything wrong.

Regards,
Abhishek Raj