Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!jupiter!al From: al@jupiter.ee.pitt.edu (Alan Martello) Newsgroups: comp.lang.perl Subject: RE: why does system() not work when from root's crontab? Message-ID: <7005@pitt.UUCP> Date: 2 Mar 90 02:35:52 GMT Sender: news@pitt.UUCP Reply-To: al@jupiter.ee.pitt.edu (Alan Martello) Organization: University of Pittsburgh Electrical Engineering Dept. Lines: 23 Boy do I feel stupid, here is the answer: ---------------------------------------------------- Return-Path: jones@emx.utexas.edu Return-Path: Date: Thu, 1 Mar 90 19:49:34 -0600 From: jones@emx.utexas.edu (William L. Jones) Posted-Date: Thu, 1 Mar 90 19:49:34 -0600 To: al@ee.pitt.edu Subject: Re: why does system() not work when from root's crontab? You should always be explict with paths form a script to be used with crontab. Crontab does not run .login and .profile files on a lot of machines. And dump, mount and umount are in /etc which is not in the default path. Bill ------------------------------------------------------ now if someone could only solve my STDERR problem... ******************************************************************* Alan R. Martello Electrical Engineering Dept. al@ee.pitt.edu University of Pittsburgh *******************************************************************