From: utzoo!decvax!harpo!duke!mike
Newsgroups: net.unix-wizards
Title: Argh! My program spazzes when cron runs it!
Article-I.D.: duke.2573
Posted: Mon Sep 27 10:14:00 1982
Received: Thu Sep 30 08:26:32 1982

I have a frustrating problem (to me anyway).  I have a program that records some
accounting information, setuid to root.  When I myself sit at a
terminal and call up the program, it works fine.  When it is
run by cron via crontab, it doesn't open the accounting file
regardless of the permissions.  I have tried the following glitches:

saying alias root /usr/bin/foo in crontab
giving foo a controlling tty in crontab using >/dev... and