From: cflight@bcsc02.gov.bc.ca
Subject: Cron not running as expected
Date: 26 Jan 1995 19:14:55 GMT [thread overview]
Message-ID: <3g8sbf$cpd@orca.osg.gov.bc.ca> (raw)
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 <root>
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....
next reply other threads:[~1995-01-26 19:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-01-26 19:14 cflight [this message]
1995-01-26 20:28 ` Cron not running as expected (WOOOPS...) e
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox