I need to execute a command that is loaded from a file.
Basically, we have several scripts that need to be run at scheduled times.
We're going to store those times in the database and update a file with data.
In that file we'll have scriptName, inputParameters, runTimes, etc...
I chose to use tilda (~) as the delimiter as it can't be used by any of the input variables
I got it all working, with one exception.
If an inputParameter needs to be executed (
current date `date +'%d%m'`)
Then I get this error:
./chk_master_script.sh[247]: `date +%m%d`: not found
Launching script (with parameters): $HOME/daily/scripts/workit.sh
-->