* Cron not running as expected
@ 1995-01-26 19:14 cflight
1995-01-26 20:28 ` Cron not running as expected (WOOOPS...) e
0 siblings, 1 reply; 2+ messages in thread
From: cflight @ 1995-01-26 19:14 UTC (permalink / 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....
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cron not running as expected (WOOOPS...)
1995-01-26 19:14 Cron not running as expected cflight
@ 1995-01-26 20:28 ` e
0 siblings, 0 replies; 2+ messages in thread
From: e @ 1995-01-26 20:28 UTC (permalink / raw)
In article <3g8sbf$cpd@orca.osg.gov.bc.ca>, cflight@bcsc02.gov.bc.ca says:
...stuff del'd
>and a 'crontab -l' gives the following:
>
>* 10,11 * * * * $HOME/sayhello > $HOME/hello.log 2>&1
...more stuff del'd
SORRY... you know how when you look at something long enough and can't find
the problem then hand it to someone else and 5 seconds later they find it...
Well, one too many '*'s will do it to you every time...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-01-26 20:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-26 19:14 Cron not running as expected cflight
1995-01-26 20:28 ` Cron not running as expected (WOOOPS...) e
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox