Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] CRON Question SOLVED (I think)
  • From: C Hamel <vgm2@xxxxxxxxxx>
  • Date: Sat, 29 May 2004 18:55:18 -0500
  • Message-id: <200405291855.19023.vgm2@xxxxxxxxxx>
On Saturday 29 May 2004 18:52, Scot L. Harris wrote:
> On Sat, 2004-05-29 at 19:36, C Hamel wrote:
> > I am using a script donated by one of our group to keep my internet
> > connection [hopefully] alive. I am having some problem w/the CRON
> > e-mailing an error to me each & every time it executes --whether as root
> > or <user>. The error follows:
> > '/bin/sh: Line 1: /usr/local/bin/ck_internet: Permission denied'
> > For some odd reason is is not appearing as a script, though right out of
> > the box it states in line 1: '#!/bin/sh' as any script I've made does &
> > is recognized. What's wrong!? Script follows:
>
> If I understand your error correctly it looks to me like you don't have
> either the correct user permissions on the script or you don't have the
> execute bits set.
>
> Check the ownership of the script and the permission bits. One of those
> is not correct.
>
> --
> Scot L. Harris <webid@xxxxxxxxxx>
Yep... makes a difference. Also, discovered white space where it shouldn't
be. Betwixt the both, no worky. :-\ Now, worky!

Thanks!
--
...CH
SuSE 9 Works
Linux user# 313696
Linux box# 199365


< Previous Next >
References