Processing N Jobs iteratively

Discussion in 'Perl Misc' started by Windy, Apr 27, 2006.

  1. Windy

    Windy Guest

    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, but perl
    would be fine too.

    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
    Windy, Apr 27, 2006
    #1
    1. Advertising

  2. Windy

    Paul Lalli Guest

    Windy wrote:
    > I am a unix neeophyte. We need some help in creating a script.
    > This is what I would like to do


    <program specfication snipped>

    Okay. So what's stopping you? What are you having trouble with? How
    is your attempt failing?

    Paul Lalli
    Paul Lalli, Apr 27, 2006
    #2
    1. Advertising

  3. Windy

    Windy Guest

    I don't know anything about C shell. I know zero about how to write
    this.
    I would appreciate if anyone had a script that does what I need to post
    it.

    Thanks.
    Windy, Apr 27, 2006
    #3
  4. "Windy" <> wrote in
    news::

    > I don't know anything about C shell.


    You also don't seem to know anything about UseNet groups.

    This is comp.lang.perl.misc

    If you think your question is relevant to the group, then please read the
    posting guidelines for this group, and post a clarification.

    > I would appreciate if anyone had a script that does what I need to post
    > it.


    We don't do that.

    Sinan
    --
    A. Sinan Unur <>
    (remove .invalid and reverse each component for email address)

    comp.lang.perl.misc guidelines on the WWW:
    http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
    A. Sinan Unur, Apr 27, 2006
    #4
  5. Windy

    Windy Guest

    Sinan,

    I asked for help. Since I have seemed to violate some edicate I
    apologize.
    I was merely looking for help.

    It appears you are the administrator of the group. If that is so,
    please delete my post
    I don't want to offend anyone.
    Windy, Apr 27, 2006
    #5
  6. "Windy" <> wrote in
    news::

    > It appears you are the administrator of the group.


    The group does not have an administrator. Most of us do, however, prefer
    topical posts. IIRC, your question was about the C shell.

    > If that is so, please delete my post I don't want to offend anyone.


    I can't delete your post. No reasonable person will be offended, as you
    have graciously apologized. If you ever have a Perl question, please do
    post after reading the posting guidelines (URL in my sig).

    It does look like you are not familiar with UseNet groups, you might want
    to read about them a little to avoid future misunderstandings.

    Sorry if my response sounded harsh.

    Sinan
    --
    A. Sinan Unur <>
    (remove .invalid and reverse each component for email address)

    comp.lang.perl.misc guidelines on the WWW:
    http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
    A. Sinan Unur, Apr 27, 2006
    #6
  7. Windy <> wrote:

    > I don't know anything about C shell.



    That's OK, neither do we.

    Have you noticed that this is the Perl newsgroup?


    > I would appreciate if anyone had a script that does what I need to post
    > it.



    You should post job offers to a newsgroup with the word "job" in its name.


    --
    Tad McClellan SGML consulting
    Perl programming
    Fort Worth, Texas
    Tad McClellan, Apr 28, 2006
    #7
  8. Windy <> wrote:

    > I asked for help.



    You did not ask for help.

    You asked for someone to write your program for you.


    > Since I have seemed to violate some edicate I
    > apologize.
    > I was merely looking for help.



    Learn a bit of Perl, try to write a program that does what you
    need, and come back here with questions if you get stuck.

    Giving you a black box that solves your immediate need is
    not helping you, and is not the purpose of this newsgroup.

    This is a newsgroup of programmers helping programmers, which is
    different from programmers helping consumers.


    > It appears you are the administrator of the group.



    There is no administrator of this newsgroup.


    > If that is so,
    > please delete my post



    You can delete your own posts you know.


    > I don't want to offend anyone.



    Too late.


    --
    Tad McClellan SGML consulting
    Perl programming
    Fort Worth, Texas
    Tad McClellan, Apr 28, 2006
    #8
  9. Windy <> wrote:

    > I would like to do preferably in the C shell,



    Then you are in the wrong newsgroup.

    comp.unix.shell is over that way ==>


    > 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.



    What parts of that are you having trouble with?

    These Perl FAQs are likely to be helpful if you should decide
    to do it in Perl:

    perldoc -q background

    How do I start a process in the background?

    perldoc -q mail

    How do I send mail?


    --
    Tad McClellan SGML consulting
    Perl programming
    Fort Worth, Texas
    Tad McClellan, Apr 28, 2006
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hardikh2000

    JOBs............JOBs............JOBs

    hardikh2000, Aug 16, 2005, in forum: Python
    Replies:
    0
    Views:
    412
    hardikh2000
    Aug 16, 2005
  2. Marcus Kwok
    Replies:
    6
    Views:
    424
    Phlip
    Apr 5, 2006
  3. nicky boy
    Replies:
    0
    Views:
    690
    nicky boy
    Feb 7, 2009
  4. nicky boy
    Replies:
    0
    Views:
    731
    nicky boy
    Feb 7, 2009
  5. Derek Basch

    Remove array items iteratively

    Derek Basch, Feb 24, 2005, in forum: Javascript
    Replies:
    7
    Views:
    103
    Derek Basch
    Feb 26, 2005
Loading...

Share This Page