![]() |
|
|
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 |
| Practice examples for beginners | himvat | Shell Programming and Scripting | 0 | 11-24-2008 12:22 AM |
| shell scripting practice | himvat | Shell Programming and Scripting | 4 | 11-21-2008 01:07 PM |
| To practice Unix at home | Amol_Dicholkar | UNIX for Dummies Questions & Answers | 9 | 11-18-2008 08:17 AM |
| Need a UNIX terminal to practice... please help!!! | abhishek27 | AIX | 5 | 11-18-2008 08:09 AM |
| Samba Practice | bilal_aa | UNIX for Dummies Questions & Answers | 3 | 07-03-2002 02:30 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
What is the best practice?
I'm playing the shell game of moving and deleting files to make room for current DB backup. A set of files gets moved to serverB when serverA threshold is exceeded. I created two scripts one for serverA and one for serverB. Both scripts are run by cron entry. There is a difference of 12 minutes between the servers. I'm trying to get that question answer from the senior admin as to why the time difference. ServerA will fire at a predetermine time "sleep xxx" to allow serverB read a file sent from serverA. The file is capacity of filesystem u06. If file exceeds threshold delete files on serverB.
My question is there a better way to run the scripts due to time difference? My thought is to invoke serverB script from serverA script. How can I fire off serverB script from serverA script? |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|