I am trying to run a sequence of python scripts in linux red hat. When one script completes, the next one should begin as per this guidance, since the commands are separated with &&
.
python2.6 ../convert_to_csv.py input1.json output1.csv && python2.6 ../convert_to_csv.py input2.json output2.csv
When I run the command the terminal changes to >
but none of the jobs start. Is this the correct syntax?
Each command runs a python script which processes a file from json to csv. When I run a single command the script works fine.