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 > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cron job question dannyd Linux 5 03-03-2008 11:40 AM
cron question moe2266 Shell Programming and Scripting 4 11-19-2007 02:08 AM
cron question moe2266 Shell Programming and Scripting 4 08-20-2007 04:09 PM
question about cron hcclnoodles UNIX for Dummies Questions & Answers 1 12-08-2006 09:02 AM
CRON Question DenD AIX 2 01-17-2006 01:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-30-2004
ted ted is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 16
cron question

I'm new to cron, What does this syntax mean?

0 5 * * 1-5 /u08/0ra33/run_arch.sh

thanks
  #2 (permalink)  
Old 07-30-2004
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
0 5 * * 1-5 /u08/0ra33/run_arch.sh


0 - runs at :00 minutes
5 - runs at 05: hours ( so together, this runs at 05:00 )
* - day of the month (* means day can be any)
* - month of the year ( * month can be any)
1-5 - day(s) of the week (0 starts the week on Sunday)

/u08/Ora33/run_arch.sh - script for some oracle processing.

So the script runs only at 5 in the morning on Monday through Friday.

See the crontab man page for more info.
  #3 (permalink)  
Old 08-02-2004
JoBa JoBa is offline
Registered User
  
 

Join Date: Sep 2002
Location: The Netherlands
Posts: 16
See also this page for a handy crontab tutorial.
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 06:10 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