Changeset 7936 for trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
- Timestamp:
- 08/25/06 13:40:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7927 r7936 38 38 39 39 webpath=/www/htdocs/datacenter 40 41 processlogpath=$logpath/run/`date +%Y/%m/%d` 42 processlog=$processlogpath/process`date +%F`.log 40 43 41 44 datetime=`date +%F-%H-%M-%S` … … 105 108 # defined 106 109 110 function printprocesslog 111 { 112 makedir $processlogpath 113 echo `date +%F\ %T`" "`whoami`"@"$HOSTNAME" "`basename $0`"["$$"] "$@ >> $processlog 114 } 115 107 116 # function to exit a script properly 108 117 function finish() … … 353 362 function getstatus() 354 363 { 364 printprocesslog "this is a test"`date` 355 365 numproc= 356 echo "getting status..."366 # echo "getting status..." 357 367 getdbsetup 358 368 column=${scriptscolname[$i]}
Note:
See TracChangeset
for help on using the changeset viewer.