unable to override context variables in properties file

One Star

unable to override context variables in properties file

Hi, I have 2 context variables I'm trying to override when I run command line shell script, I have tried both
bash CustomerInfo_run.sh --context_param TODAYDATE="2012-06-07" --context_param TODAY_DATE="06/07/2012"
bash CustomerInfo_run.sh --context_param TODAYDATE=2012-06-07 --context_param TODAY_DATE=06/07/2012
The default values for both variables are 2012-06-06 and 06/06/2012. When I run the script, it didn't pick up the overriding values.
One Star

Re: unable to override context variables in properties file

Hi
Welcome to Talend Community!
I test the command 'bash CustomerInfo_run.sh --context_param TODAYDATE=2012-06-07 --context_param TODAY_DATE=06/07/2012' and it works fine.
Or
chmod +x CustomerInfo_run.sh
./CustomerInto_run.sh --context_param TODAYDATE=2012-06-07 --context_param TODAY_DATE=06/07/2012
Regards,
Pedro

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now