Crontab

Guy Harris guy at auspex.auspex.com
Sun Jul 23 06:22:38 AEST 1989


>In NCR Tower Unix, release 20100, if I create a crontab format file as
>root then do
>crontab filename
>it wipes what is currently in the crontab for root and replaces it with
>the new entries. It does not append it, as the manual implies.

Unless somebody at NCR decided to modify "crontab" but didn't get it
right, it's the manual that's incorrect; in vanilla S5 from AT&T,
"crontab" is intended to replace, not append to, the existing "crontab"
file, and that's what it does.  (If you want to append, then as long as
you don't have multiple writers, you can obviously arrange to do that by
using "crontab -l" to copy the file, appending to the copy, and using
"crontab" to write it out.)

(If somebody at NCR *did* decide to do that, they should have thought
twice about making "crontab" incompatible - if it appends, is the only
way then to delete a "crontab" entry to nuke my entire "crontab" file
with "crontab -r" and then to stuff the new file in?  I suspect, though,
that it's purely a documentation screwup.)



More information about the Comp.bugs.sys5 mailing list