-----BEGIN PGP SIGNED MESSAGE-----
On Wed, 1 Jul 1998 07:54:41 +0200 (CEST), Zoki wrote:
>On Tue, 30 Jun 1998, Slyglif Cain wrote:
>->Actually, the problem is the script. When you do "sh <filename>" from
>->a command prompt, you are explicitly telling Linux what shell to use.
>->For the script to work from crontab, you have to be able to type
>->"<filename>" (no alias for sh) to run the command from a prompt. To
>->make this happen, you MUST put "#!/bin/sh" as the first line of the
>->script.
>
>
>*** So why is it I have #!/bin/sh as the first line in any script and it
>still doesn't work? BTW, even with that line in the script, I still have
>to type sh [script] in order to run it.
Probably because you didn't make it executable. Try:
chmod +x scriptname
JBB
- --
PMMail Archiver URL: Stars! & Longbow 2
URL:
http://www.bigfoot.com/~Jonathan_Bayer/archiver
http://www.geocities.com/~jonathanbayer/
For PGP Public key block and Fingerprint send the following message to me as the
Subject:
Send PGP Signature
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Requires PGP version 2.6 or later.
iQCVAwUBNZpv0o1F3x2FJJilAQHWFgP9E4NuxyCPmOY86qIfNLjmIBW6LpV4PU1A
3z6FInFb0PwR0omU2Tk+XmaHZRrb9MDu+xC4wE9LlICSkcN0JcxYPljjxEmqddUR
Obavu2uJ2mA7zjNOXxvdMOhlAwFYHfXHsmyBu7jMTsz3/BgJqin63pMYG8H7YjAB
dWpu6OP//PY=
=KSN8
-----END PGP SIGNATURE-----
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.