07-08-2007
n/a,
0
The correct solution however is to rewrite the script to parametrize the, uh, parameter correctly.
#!/bin/sh
param=$1
exp username/password@databasename file=PMGR_AMPD_ $param.dmp statistics=none log=exp_PMGR_AMPD_ $param.log
Then you'd execute that with the required date, i.e. "script 06132007" to run it with param set to 06132007. Or if the parameter can be derived from the date when the script is run or some such then by all means do that automatically, i.e. param=$(date +%d%m%Y)
Last edited by era; 07-08-2007 at 04:08 PM..
Reason: Spurious newline