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 > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
error in running shell script in cron sari Shell Programming and Scripting 3 04-16-2008 04:09 AM
Problem with scheduling a shell script on cygwin using cron shash UNIX for Dummies Questions & Answers 4 08-09-2007 06:08 PM
Shell script & cron deppy82 Shell Programming and Scripting 3 08-02-2007 01:00 PM
executing shell script from the cron abNORMal HP-UX 2 06-15-2006 02:54 PM
gzip in shell script called by cron hbau419 Shell Programming and Scripting 2 02-05-2002 07:03 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 12-14-2007
Yamini Thoppen Yamini Thoppen is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 15
Is it possible to have more than one Cron in shell script?

Hi,

can we have more than one cron in the shell script? If so pls let me know on what basis it is running. Whether on OS scheduling or the time scheduled in the cron file.Pls answer this query.

Many Thanks
  #2 (permalink)  
Old 12-16-2007
Kundunni Kundunni is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 18
cron is the scheduler. The runs the jobs by referring the table crontab. Or you can schedule the jobs via "at"
We can have only one cron demon running on the server. However we can use other schedulers on the same server like cosbatch, autosys etc
  #3 (permalink)  
Old 12-16-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Each user gets a crontab, each crontab can have a number of entries.

Each entry has a date/time specification and a command to run.

Only one cron process is required, it spawns child processes and runs the commands as required.
  #4 (permalink)  
Old 12-17-2007
Yamini Thoppen Yamini Thoppen is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 15
Thanks Kundunni..hence it is depends on...

Quote:
Originally Posted by Kundunni View Post
cron is the scheduler. The runs the jobs by referring the table crontab. Or you can schedule the jobs via "at"
We can have only one cron demon running on the server. However we can use other schedulers on the same server like cosbatch, autosys etc
Hi Kundunni,

Thanks for you reply. Hence it is only one cron containing many crontabs on the server and it is not related to the operating system.
  #5 (permalink)  
Old 12-17-2007
Yamini Thoppen Yamini Thoppen is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 15
Thanks Porter

Quote:
Originally Posted by porter View Post
Each user gets a crontab, each crontab can have a number of entries.

Each entry has a date/time specification and a command to run.

Only one cron process is required, it spawns child processes and runs the commands as required.
Hi Porter,

Thanks for your reply.
Sponsored Links
Closed Thread

Bookmarks

Tags
autosys

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




All times are GMT -4. The time now is 08:38 PM.


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