18 ostringstream command;
20 command <<
"elog -h " << hostname <<
" -p " << port <<
" -l " << logbookname <<
21 " -a \"Author=" << who <<
"\"" <<
22 " -a \"Subject=Run " << run <<
" started\" " <<
23 "\"Run " << run <<
" started with file " << filename <<
"\"" <<
24 " >/dev/null 2<&1" << endl;
28 system (command.str().c_str() );
36 ostringstream command;
38 command <<
"elog -h " << hostname <<
" -p " << port
39 <<
" -l " << logbookname<<
" -a \"Author=" << who <<
"\""
40 <<
" -a \"Subject=Run " << run <<
" ended\" "
42 <<
" ended with " << events
43 <<
" events, size is " << volume <<
" MB"
44 <<
" duration " <<
time(0) - starttime <<
" s\" "
45 <<
" >/dev/null 2<&1" << endl;
48 system (command.str().c_str() );