Running a bash script using system execute

I need to run a bash script from clover. The script looks like this
#!/bin/bash
rm S_D_85252592_*.txt
rm S_D_85252592_*.txt.gz
java Autoingestion userid password 85252592 Sales Daily Summary
gunzip S_D_85252592_*.txt.gz
cp S_D_85252592*.txt download.txt.copy
mv /download.txt.copy /home/mypub/sandboxes/events_dc_to_reporting/data-in/download.txt

I am using the following in SystemExecute transformation .

bash -c “/data/external/Apple/download.sh”

What am I doing wrong?

Hi kasturi,

did you tried to observe data on output port of SystemExec? What is it saying?

If “/data/external/Apple/download.sh” have runnable flag, then it should be possible to launch just “/data/external/Apple/download.sh”