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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
vidya821
Creator
Creator

Create a test job in windows and execute it on linux server

Hi,

I have create a sample job to read a data from file and print the content using tlogRow.

In this the input file path is D:/Sample/input.txt

 

Now when i would deploy this on linux, it will fail since the location D:/Sample will not be present on linux server, so what changes are to be done to make it run on linux server.

 

Thanks

 

 

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

For Linux it could be /home/yourUser/whatYouWant or /tmp or any valid path

View solution in original post

3 Replies
TRF
Champion II
Champion II

As a good practice, define context variables to define pathname. Then select the appropriate context when starting job.
vidya821
Creator
Creator
Author

Hi @TRF,

Have created the context for file path, but what would be its value since its a linux server.

for windows its D:/ but for linux what shud be it? (like how do i define the path for linux server in context variable)

TRF
Champion II
Champion II

For Linux it could be /home/yourUser/whatYouWant or /tmp or any valid path