The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Automatically Running Scripts jeffreydavisjr UNIX for Dummies Questions & Answers 4 11-19-2008 05:05 AM
Running shell scripts automatically without using Batch or at commands ritzwan0 Shell Programming and Scripting 3 09-17-2006 02:51 PM
automatically open pau Shell Programming and Scripting 1 06-04-2006 12:24 PM
Scripts for calculating size and remaining space of a directory automatically. leonall Shell Programming and Scripting 1 12-13-2005 02:30 PM
How to run a script automatically ????? arunava_maity UNIX for Dummies Questions & Answers 7 05-02-2001 10:37 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-03-2001
arunava_maity arunava_maity is offline
Registered User
  
 

Join Date: Apr 2001
Posts: 17
Hi !!
How do u run three scripts one after another automatically using crontab command at some specified regular interval.
Say i have three scripts A,B,C and i want to run the three scripts A followed by B followed by C.

REQUIRE HELP URGENTLY

Thanks in advance
Arunava
.
  #2 (permalink)  
Old 05-04-2001
bptaylor bptaylor is offline
Registered User
  
 

Join Date: Apr 2001
Posts: 1
continuous scripts

I usually just type the name of the script that you want to run next as the last line of your first script.....

for instance ..
1st script called one says this date > todaysdate
2nd scripts called two says grep 01 todaysdate
3rd script called three says ls /etc/fileneame

i would put the following single script called all together

./one
./two
./three
that should start all three scripts one after another.
  #3 (permalink)  
Old 05-04-2001
arunava_maity arunava_maity is offline
Registered User
  
 

Join Date: Apr 2001
Posts: 17
Thanks for the reply.
I will try it out.
Cheers
Arunava
  #4 (permalink)  
Old 05-04-2001
98_1LE 98_1LE is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
Your cron entry could also read:
Code:
0 * * * * /home/you/script1; /home/you/script2; /home/you/script3
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0