|
Why not ignore the seconds component completely and just do something like:
if grep -q ": $h:15.*SendToCM: run()" schedulerTrace.log
then
echo job did run
else
echo job did not run
fi
Code:
if grep -q ": $h:15.*SendToCM: run()" schedulerTrace.log
then
echo job did run
else
echo job did not run
fi
-->
Code:
if grep -q ": $h:15.*SendToCM: run()" schedulerTrace.log
then
echo job did run
else
echo job did not run
fi
Last edited by Annihilannic; 09-01-2008 at 03:46 AM..
Reason: forgot the SendToCm part
|