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
unable to schedule events through cron rakshit HP-UX 7 01-31-2008 04:57 AM
Cron job -- to execute at every first Sunday of every month shanemcmahon UNIX for Dummies Questions & Answers 2 05-03-2007 11:34 PM
schedule many jobs using cron sireesha15 UNIX for Dummies Questions & Answers 1 11-28-2006 11:20 PM
How to Schedule job using cron(URGENT) ravi.sadani19 Shell Programming and Scripting 2 01-23-2006 07:10 AM
Unix Cron Month End Processing cpete UNIX for Advanced & Expert Users 3 05-04-2005 02:59 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-20-2004
bradtri bradtri is offline
Registered User
  
 

Join Date: Apr 2004
Posts: 5
Cron to schedule 1st Wednesday of every Month??

Is there a way to use cron to run a job on the 1st Wednesday of every month?? The more generic question is, "Are all of the fields in crontab AND'd together or are some OR'd?".

i.e. I had an entry in my crontab this morning as follows and I didn't expect it to run since the day of month is 20 today, but it did run...

#Minute 0-59
# Hour 0-23
# Day of Month 1-31
# Month 1-12
# Weekday 0-6 Sun-Sat
#
22 09 8-14 * 3 /easdwld/audit/dev/bin/purge.audit
 

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 04:34 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