16 lines
423 B
Bash
16 lines
423 B
Bash
|
#!/bin/bash -l
|
||
|
|
||
|
source ~/FSUDAQ/FSUDAQ.sh
|
||
|
|
||
|
echo $ElogIP
|
||
|
|
||
|
elogFileName="elogText.txt"
|
||
|
|
||
|
#make text file for elog text
|
||
|
echo "**************************************" > ${elogFileName}
|
||
|
echo "Run-${lastRunID} start at $(date)" >> ${elogFileName}
|
||
|
|
||
|
|
||
|
#push to elog
|
||
|
elog -h ${ElogIP} -l ${ExpName} -u GeneralFox fsuphysics888 -a Author="GeneralFox" -a Category="Run" -a RunNo=${lastRunID} -a Subject="Start Run" -n 2 -m elogText.txt
|