home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!news.larc.nasa.gov!advise.larc.nasa.gov!zaphod
- From: zaphod@advise.larc.nasa.gov (Lyle D. Sanders)
- Subject: Re: Cron question: first monday in october (or any month)
- Message-ID: <BswJC0.Mp2@news.larc.nasa.gov>
- Sender: news@news.larc.nasa.gov (USENET Network News)
- Organization: NASA Langley Research Center, Hampton, VA USA
- References: <lee.713038760@ceg.uiuc.edu> <21307@rpp386.lonestar.org> <168ndtINNmon@BIGBIRD.CF.CS.YALE.EDU>
- Date: Thu, 13 Aug 1992 03:07:12 GMT
- Lines: 35
-
- anselmo-ed@cs.yale.edu (Ed Anselmo) writes:
- |> I don't know when or why they diverged, but BSD-ish crons "and" all
- |> the fields together, while SysV (and SunOS >= 4.0) cron does the
- |> funkiness described in earlier postings (run if either day-of-month or
- |> day-of-week is true).
- |> --
- |> Ed Anselmo anselmo-ed@cs.yale.edu {harvard,cmcl2}!yale!anselmo-ed
-
- Thanks SUN!!!!
-
- If I want to OR the day-of-month and day-of-week fields, I could make two
- cron entries. (If cron uses the "AND" method.)
-
- But with the "OR" method, I have to use a bass-ackwords wayof getting the
- ANDing of the two fields.
-
- It seems stupid to OR two of the fields then AND that result with the
- rest of the fields. Why not just AND all of the fields??? Can someone
- out there in sun.com land answer that one?
-
- I suspect that there are more people who have meetings on the first
- Wednesday of the month than there are people who have meetings on the
- first 7 days of the month AND every Wednesday.
-
-
- Lyle D. Sanders zaphod@answers.larc.nasa.gov
- UNISYS Government Systems Inc. (804) 864-7470
- Mail Stop 157-B (804) 864-7604 FAX
- NASA Langley Research Center
- Hampton, VA 23665
-
- ------------------------------------------------------------------------------
- "I do not feel obliged to believe that the same God who endowed us with sense,
- reason and intellect has intended us to forgo their use." -- Galileo Galilei
- ------------------------------------------------------------------------------
-