Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!quasi-eli!cs.yale.edu!anselmo-ed From: anselmo-ed@cs.yale.edu (Ed Anselmo) Newsgroups: comp.unix.wizards Subject: Re: Cron - First Saturday of the month Message-ID: <25787@cs.yale.edu> Date: 10 Aug 90 16:42:38 GMT References: <19744@orstcs.CS.ORST.EDU> <1990Aug8.185745.16606@iwarp.intel.com> <1990Aug8.214539.1264@watserv1.waterloo.edu> <1990Aug9.001850.19494@iwarp.intel.com> <1990Aug10.040654.17334@watserv1.waterloo.edu> <1990Aug10.063819.5253@iwarp.intel.com> Sender: news@cs.yale.edu Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 18 Nntp-Posting-Host: bigbird.cf.cs.yale.edu In-reply-to: merlyn@iwarp.intel.com's message of 10 Aug 90 06:38:19 GMT I peeked at the sources -- the BSD cron "ands" all the fields together. I don't have Sun 4.x sources, but under SunOS 4.0.3, I saw the same behavior as David Canzi saw. So, with a crontab like: 28 12 1-5 * 5 anselmo date > /homes/facility/anselmo/temp/www 28 12 7-11 * 1 anselmo date > /homes/facility/anselmo/temp/xxx 28 12 1-5 * 1 anselmo date > /homes/facility/anselmo/temp/yyy 28 12 7-11 * 5 anselmo date > /homes/facility/anselmo/temp/zzz running on Fri Aug 10, under the BSD cron, only zzz got created. Running under Sun 4.x cron (with the crontab entries suitably modified), www, xxx, and zzz got created. -- Ed Anselmo anselmo-ed@cs.yale.edu {harvard,cmcl2}!yale!anselmo-ed