Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] CRON Question
  • From: "Ken Schneider" <suselist@xxxxxxxx>
  • Date: Sat, 29 May 2004 21:15:17 -0400
  • Message-id: <WorldClient-F200405292115.AA15170175@xxxxxxxx>
-----Original Message-----
From: C Hamel <vgm2@xxxxxxxxxx>
To: suse-linux-e@xxxxxxxx
Date: Sat, 29 May 2004 18:36:51 -0500
Subject: [SLE] CRON Question

> 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:
> #!/bin/sh
> #
> # Script to check if modem is disconnected & try reconnecting
> #
<snip>

I would check the perms and make sure that the script is executable, i.e.

-rwxr-xr-x perms would make it excutable for anyone. Change to suite your
needs.

Ken



< Previous Next >
References