![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not able to insert data | megh | SUN Solaris | 1 | 12-05-2008 12:20 AM |
| unable Insert data from .dat file to .xls can anybody help me | kreddy2003 | Shell Programming and Scripting | 1 | 05-28-2008 06:33 AM |
| help me to to insert data | babu@shell | UNIX for Dummies Questions & Answers | 10 | 10-24-2006 03:25 AM |
| How to insert new line in the data file using the script | Sona | UNIX for Dummies Questions & Answers | 2 | 08-22-2006 02:17 AM |
| sed, insert data from a file to another? | ctcuser | Shell Programming and Scripting | 4 | 05-03-2005 02:43 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Not able to insert data through crontab
Hi All,
I have a script while manually running it creates a file dbcheck.log and check the value in it.But while same script ran through cron the script is creating a 0 byte file but not able to insert data. Here is my code: db_check=/home/dmidev/appl/scripts/dbcheck.log for i in 1 2 3 4 5 6 7 8 9 10 do #Check_RibDB_Up `sqlplus -s user/passwd@ora_sid << EOF > $db_check $SQL_SETS $SQL_CNT EOF` egrep 'ERROR | ORA' $db_check #case $TR in if(($?==0)) then echo "$i time and Data Base is down and script is going for asleep for 1 hour" >> $oraerr mail_send sleep 3600 continue else echo "Data base is up at $i th check and weekly.ksh starts executing" >> $oraerr /home/dmidev/appl/scripts/megh1.ksh exit fi done Regards Megh |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|