![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| some information on error checking | vinayrao | Shell Programming and Scripting | 1 | 03-14-2008 12:07 PM |
| Error code checking | jepombar | Shell Programming and Scripting | 3 | 08-21-2007 02:50 PM |
| Disk health & error checking | hcclnoodles | SUN Solaris | 2 | 10-18-2006 10:33 AM |
| Error Checking Problem | pokeycam | Shell Programming and Scripting | 4 | 09-13-2006 04:38 AM |
| error checking in bash | gubten | Shell Programming and Scripting | 3 | 06-06-2006 05:38 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I am creating a script that will automatically use sftp to connect to a site and download a file, extract the tar and then delete the tar file once completed.
What I am stuck on is the error checking for this process. Here is the code so far: Quote:
1 for the ftp connection to wait 2 minutes and retry if there is no connection and to spawn off a yellow warning message to an email address at 10 minutes and a red warning message at 20. After 20 minutes the script dies. The second message which i may or may not need, is one to monitor the tar output for any error messages. This is not as important as the first one however. Any suggestions or help will be appreciated! Thank you |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|