Processing N jobs iteratively
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Processing N jobs iteratively




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Processing N jobs iteratively  
Windy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 06:28 PM

Hi All,

I am a unix neeophyte.  We need some help in creating a script.
This is what I would like to do preferably in the C shell.

We have a list of N jobs.
We want to process this list.
When job 1 is submitted (but not complete), we
want to process (iterate to) the next job in the list.
When the job is complete, we want to be notified via email.

Thanks for your help.






[ Post a follow-up to this message ]



    Re: Processing N jobs iteratively  
Chris F.A. Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 06:28 PM

On 2006-04-27, Windy wrote:
> Hi All,
>
> I am a unix neeophyte.  We need some help in creating a script.
> This is what I would like to do preferably in the C shell.

Please do not multipost.

If you feel a message belongs in more than one group, cross post
(i.e., place all the groups in the Newsgroups: line of the message
header). If Google groups cannot do that, use a real newsreader to
post to Usenet.

> We have a list of N jobs.
> We want to process this list.
> When job 1 is submitted (but not complete), we
> want to process (iterate to) the next job in the list.
> When the job is complete, we want to be notified via email.
>
> Thanks for your help.
>


--
Chris F.A. Johnson, author              <http://cfaj.freeshell.org>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, is written for the POSIX locale
===== and is released under the GNU General Public Licence





[ Post a follow-up to this message ]



    Re: Processing N jobs iteratively  
Rick Jones


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 06:28 PM

Chris F.A. Johnson <cfajohnson@gmail.com> wrote:
> On 2006-04-27, Windy wrote: 
[vbcol=seagreen]
>    Please do not multipost.

>    If you feel a message belongs in more than one group, cross post
>    (i.e., place all the groups in the Newsgroups: line of the message
>    header). If Google groups cannot do that, use a real newsreader to
>    post to Usenet.

It might also be good to set a Followup-to: header.  Some boilerplate
I trot-out from time to time

One can specify more than one newsgroup in the Newsgroups: line. The
format would look like this:

Newsgroups: group1,group2,group3

with no spaces in the grouplist. This has several advantages (so long
as it is not abused by posting messages to inappropriate groups). Only
one copy of your message must traverse the Internet, saving network
bandwidth; only one copy of your message must be stored on each news
server on the Internet, saving many MB of space world-wide; you only
have to enter the news posting once, saving you time; people only have
to read/skip your post once, saving them time; all responses in any
group can be seen in all groups, keeping everyone up to date with the
conversation.

Also, you can add a Followup-to: header line which will direct all the
follow-ups to a particular group, making it easier for you to look for
responses.

I hope you find this helpful. If you do, please pass it along to your
peers as you see them needing the same advice.

sincerely,

rick jones


--
The glass is neither half-empty nor half-full. The glass has a leak.
The real question is "Can it be patched?"
these opinions are mine, all mine; HP might not want them anyway... 
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register