Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-12-2005, 11:06 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 6

Rep: Reputation: 0
scripting to run perl scripts


I would appreciate help with the following. I would like to write some
sort of shell script that would consist of 3 lines each calling a different
perl script to run.

How would I go about doing this?

The issue that I am most concerned with is that the calls complete
before going to the next line. Some of the calls can take a couple of
hours and one takes perhaps a day. The last one is the one that takes
about a day.

For example:


I know in the shell script it will be listed sequentially but will
the script wait for to complete before calling

If not should I do somthing like write three shell scripts and then
have another shell script contain the calls run the other three shell scripts?

thanks for your help
Old 01-12-2005, 11:33 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: scripting to run perl scripts

Originally posted by newbie_m
I know in the shell script it will be listed sequentially but will
the script wait for to complete before calling

To have them fired up at the same time you'd have to
explicitly detach them, using an & at the end of the



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I run my perl scripts in emacs linjia Linux - Software 1 12-05-2004 10:30 AM
my perl scripts wont run need help unixmad Linux - Software 4 09-14-2004 08:04 PM
upgraded webmin - perl scripts wont run jimi_j Linux - Software 0 05-25-2004 05:47 PM
Bash Shell Scripting *Integrate two scripts* Soulful93 Programming 1 04-29-2004 05:07 PM
How to Run perl scripts using bash Boudewijn Linux - Software 2 11-26-2003 03:37 AM

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration