3268071bb819bc9788b802a461e95cbf3e40b1b3
jcasper
  Tue Dec 24 00:56:42 2013 -0800
Fixed issue where cron invocation failed because it couldn't write to /dev/stderr.  Script now calls bash -c to write to stderr
diff --git src/utils/qa/databaseAday.csh src/utils/qa/databaseAday.csh
index 1d55ee1..57e3b9c 100755
--- src/utils/qa/databaseAday.csh
+++ src/utils/qa/databaseAday.csh
@@ -55,31 +55,31 @@
 # this is a 'today' call, just get the top db on the list and exit
 if ( $choice == "today" ) then
   # make sure the databaseAdayList exists
   if (! -e $outPath/databaseAdayList) then
     echo "\n $error\n"
     exit 1
   endif
   # return the database at the top of the list
   set todaysDb=`head -1 $outPath/databaseAdayList`
 
   # be sure we haven't completely wrapped around the list
   # and redo list if so (catches any new dbs since last init)
   if ( $todaysDb == "DO-OVER" ) then
     $0 init $outPath
     set todaysDb=`$0 today $outPath`
-    echo "starting new db list" > /dev/stderr
+    bash -c 'echo "starting new db list" >&2'
   endif
   # all is good!
   echo $todaysDb
   exit 0
 endif
 
 # this is a 'yesterday' call
 if ( $choice == "yesterday" ) then
   if (! -e $outPath/databaseAdayList) then
     echo "\n $error\n"
     exit 1
   endif
   # return the database at the bottom of the list
   set yestDb=`tail -1 $outPath/databaseAdayList`
   # check to see if it is a new list