====== DAFNE Logging ====== ===== Environment ===== * runsDay=webDaily=/u2/data/runs/daily/btf * log file in postscript * $datHist=/u2/data/history/dat * $file=`date '+%Y%m%d.dat'` * /u2/data/temp/btf.dat * temporary data file logged every minutes * /space/daq/cgi/source/btfTime.c * log btf data * /space/daq/cgi/source/dafneFinuda.h * header file for btfTime * /space/daq/anal/btf/btf.csh * calls in input the $datHist/$file * fill the btf.dat file via running btfTime executable * /space/daq/anal/btf/btfB.csh * calls pawX11 with btf2.kumac * /space/daq/anal/btf/btf2.kumac * process file btf.dat via runs.f and plots on the file on out.ps * /u2/data/temp/out.ps * postscript file with the summary of the calculation on the btf.dat * /u2/data/temp/YYYYMMDD.ps * final tagged postscript file with the summary of the calculation on the btf.dat using out.dat * /space/daq/anal/btf/runs.f * fortran file to create histo for btf2.kumac ===== Crontab file ===== **Every minute**\\ * * * * * /space/daq/control/shortHistory.csh (every minute) \-> calls btf.csh \-> fill the btf.dat file via running btfTime executable **Every 10 minute starting from 08**\\ 8,18,28,38,48,58 * * * * /space/daq/status/dafnePlots.csh \dafnePlots.csh-> calls btfB.csh \btfB.csh-> calls pawX11 with btf2.kumac \btf2.kumac-> calls runs.f \runs.f-> calculation on btf.dat file \runs.f-> output the out.ps \btf2.kumac-> save the out.ps on /u2/data/temp/ \dafnePlots.csh-> move the /u2/data/temp/out.ps from btf2.kumac in YYYYMMDD.ps dated file on /u2/data/runs/daily/btf/