Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

QlikSense Execute Batch Job

Dear All,

I write below statement to call the batch job in qliksense server.  I have activated the legacy mode in the server.

When I run the job, the system run finished without error but it does not perform any copy file in the batch script.

Could anyone please assist me.

//Test 1

LET vBatchJobPath = 'lib://BatchJob';

Execute cmd /C $(vBatchJobPath)/copyfile.bat;


//Test 2

LET vCopyStoreImageBatch = 'D:\QLIK\ManagementDashboard\05_BatchJob\copyfile.bat';

Execute cmd /C $(vCopyStoreImageBatch);


Content of copyfile.bat:-

//**Copy image file from other server path share to local server C: drive

Copy "z:\Image Folder\"*.JPG /Y "C:\Qlik Share\StaticContent\Content\StoreImage"

Thanks & Regards.

BengSee

0 Replies