【发布时间】:2014-10-17 05:27:30
【问题描述】:
提前感谢您的帮助。
我正在尝试使用
qsub -q myQ myJob.sh
在 myJob.sh 我有
# Name of the output log file:
temp=$( date +"%s")
out="myPath"
out=$out$temp
#$ -v out
#$ -o $out
unset temp
unset out
我想要的是让我的输出文件具有标准名称,并在末尾附加 unix 时间戳,例如 myOutputFile123456789
当我运行它时,我的输出文件按字面意思命名为“$out”,而不是 myOutputFile123456789。是否可以做我想做的事,如果可以,我该怎么做?
【问题讨论】:
标签: bash sungridengine