On 08.07.04,22:03, C Hamel wrote:
I have set up several scripts, a couple of which are already hooked into cron & execute on schedule. A third script generates an error: /bin/sh Line 1: Permission denied
The script has the requisite '#!/bin/sh' as the first line w/no white space to the left & no blank line at the top. It doesn't matter what is in the script --I have tried changing the command-- it will not execute because of the 1st line. What is in the script is as follows: 'cinternet --interface-name=ppp0 -O' ...and execution by hand works. I'd really like to execute this script before the logs are archived, as this seems to wreak havoc w/the connection, sometimes. What's wrong!? I'm really puzzled.
Use the full path to cinternet:
/usr/bin/cinternet
- Jostein
--
Jostein Berntsen