Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!bu.edu!att!linac!midway!mimsy!nmrdc1!minixug!uwalt!waltje From: waltje@uwalt.nl.mugnet.org (Fred 'The Rebel' van Kempen) Newsgroups: comp.os.minix Subject: A more stable cron(1M) Message-ID: <910203716@uwalt.nl.mugnet.org> Date: 3 Feb 91 21:00:24 GMT Organization: MicroWalt Corporation, for MINIX Software Development Lines: 128 Dear All, When running a network, it is sometimes nice to be able to _rely_ on your machine and its software. Fortunately, Advanced MINIX _is_ quite reliable; it has only two weak spots: - UUCP - cron The first one is being worked on right now; the new UUCP package (called UUCP/4E) is quite good (and large :-). However, a good UUCP software package won't help if there is a `cron' program on your system that crashes any time it wants to (i.e. often!), since it leaves your system running `dead'.... While installing my UUCP package on an Atari-ST, we found that cron wouldn't even run on the ST. That did it; I told myself to have a look at it. So, here it is: a new cron. It is basically the old one, but now reformatted, and I changed some things in it. It runs OK on an ST now, and it is very reliable on iNTEL systems. It still crashes sometimes, but that seems to be only the case if no memory is left for the process to be executed. I am working on that one. Please find below the uuencoded, compressed source of the newcron(1M) program. Try it, and let me know (by e-mail) if there are any more problems with it... Enjoy, Fred. -- table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 cron.c.Z M'YV-+U2 &"+GC1L0+4",8?-FS!H09,*4:6/018*+0>K00?-&C@X04UQ(<0$Rz M3!LX(Dw M"140< J>D6/21>8ID,<8K2MU:!BB@W==R0L4WG#0@YQLN$*2Z5SM Q!ND49$.TC)PVD+,Z38)\u M#,W6F>L4G][]>G376I7FL3T'3AGID)T! D5>*88<<42ET891VP%6!ARFK731t M$VZH!L)KZ+FAT6I1W1'&&F4,9=:%TH%0!AXF018B8_+)\0(;:8CQ@GOAA2$&s M46]D5MQJR!6%W84_AN$&5^"UP9MT0U5GF5$GEC'&AF0X104:1IG1$6]1O6&&r M$7p M8)5>.H>+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