From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8007fd803f0c9cda,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-01-26 11:14:55 PST Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!netline-fddi.jpl.nasa.gov!elroy.jpl.nasa.gov!decwrl!tribune.usask.ca!quartz.ucs.ualberta.ca!unixg.ubc.ca!orca.osg.gov.bc.ca!usenet From: cflight@bcsc02.gov.bc.ca Newsgroups: comp.unix.osf.osf1 Subject: Cron not running as expected Date: 26 Jan 1995 19:14:55 GMT Organization: Your Organization Message-ID: <3g8sbf$cpd@orca.osg.gov.bc.ca> Reply-To: cflight@bcsc02.gov.bc.ca NNTP-Posting-Host: rama.osg.gov.bc.ca X-Newsreader: WinVN 0.92.6+ I have the following script file located in /home/cflight #!/bin/sh echo "hello" exit and a 'crontab -l' gives the following: # # A crontab file consists of lines of six fields each. The fields are # separated by spaces or tabs. The first five are integer patterns # that specify the following: # # minute (0-59), # hour (0-23), # day of the month (1-31), # month of the year (1-12), # day of the week (0-6 with 0=Sunday). # * 10,11 * * * * $HOME/sayhello > $HOME/hello.log 2>&1 Once I activate this I start to get mail msgs that look like this: From: system PRIVILEGED account Apparently-To: cflight sh: FOI: execute permission denied ************************************************* Cron: The previous message is the standard output and standard error of one of your cron commands. Note that FOI is the first non-dotted file in my home dir. Why is cron trying to (apparently) execute the file names in my home dir instead of the script I am specifying in my crontab file? Note that I dont get any hello.log file (almost as if CRON isn't even running my sayhello script). any suggestions/assistance would be greatly appreciated....