The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
balance 3.42 (Default branch) iBot Software Releases - RSS News 0 04-08-2008 09:50 PM
mv load balance files xgringo UNIX for Dummies Questions & Answers 8 02-04-2008 12:41 PM
Load balance summerpeh Linux 2 12-30-2007 04:05 AM
Need help in wrting Load Script for a Load-Resume type of load. ankitgupta Shell Programming and Scripting 1 11-09-2006 08:46 PM
general ledger balance. Jenny UNIX for Dummies Questions & Answers 1 11-29-2005 06:36 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2005
Registered User
 

Join Date: May 2005
Posts: 1
load Balance

Guys im trying to create a script that will load ballance 3 devices. Unix is still very alien to me having only been in this position for 3 months now. Not to mention the fact that i've been thrown in the deep end. Anyway so far i've managed to make a script that looks at all 4 devices and make a report:

ls ~/Desktop/printer1/ ~/Desktop/printer2/ ~/Desktop/printer3/ > ~/Desktop/contents.txt

This gives me:

/Users/Desktop/printer1/:
Job1
Job2
job4

/Users/Desktop/printer2/:
Job1
Job2
Job3

/Users/Desktop/printer3/:
Job1

were using OSx but the printer folders are just hotfolders that are watched then spooled every 5 minutes or so by each Printers Rip. The problem we have is each team has a printer, but some teams produce more work than others. We use Filemaker to submit our approved EPS files to the hotfolders. However we find that 1 or 2 of the queues are always empty and 1 machine is full to bursting. We'd like a script that when our QC team approve the Artwork, Filemaker moves the EPS to the next available machine. The script i wrote before gives me a report, it would be great if i could take the info and maybe populate our database with a record of how many jobs are running on which machine.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-13-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 627
check here for a possible solution ...
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0