Ignore:
Timestamp:
08/25/06 13:40:49 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7927 r7936  
    3838
    3939webpath=/www/htdocs/datacenter
     40
     41processlogpath=$logpath/run/`date +%Y/%m/%d`
     42processlog=$processlogpath/process`date +%F`.log
    4043
    4144datetime=`date +%F-%H-%M-%S`
     
    105108# defined
    106109
     110function printprocesslog
     111{
     112   makedir $processlogpath
     113   echo `date +%F\ %T`" "`whoami`"@"$HOSTNAME" "`basename $0`"["$$"] "$@ >> $processlog
     114}
     115   
    107116# function to exit a script properly
    108117function finish()
     
    353362function getstatus()
    354363{
     364   printprocesslog "this is a test"`date`
    355365   numproc=
    356    echo "getting status..."
     366#   echo "getting status..."
    357367   getdbsetup
    358368   column=${scriptscolname[$i]}
Note: See TracChangeset for help on using the changeset viewer.