Processing N Jobs iteratively

W

Windy

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
 
P

Paul Lalli

Windy said:
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
 
W

Windy

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

A. Sinan Unur

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 <[email protected]>
(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
 
W

Windy

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

A. Sinan Unur

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 <[email protected]>
(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
 
T

Tad McClellan

Windy said:
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.
 
T

Tad McClellan

Windy said:
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.
 
T

Tad McClellan

Windy said:
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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top