Re: crontab bash script failure
From: Barry Margolin (barry.margolin_at_level3.com)
Date: 06/06/03
- Next message: Ed Morton: "Re: crontab bash script failure"
- Previous message: Ed Morton: "Re: crontab bash script failure"
- In reply to: Ed Morton: "Re: crontab bash script failure"
- Next in thread: Ed Morton: "Re: crontab bash script failure"
- Reply: Ed Morton: "Re: crontab bash script failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 06 Jun 2003 19:17:50 GMT
In article <3EE0E5B0.5D5D1849@lucent.com>,
Ed Morton <morton@lucent.com> wrote:
>
>
>Russ wrote:
>
>> I have a set bash scripts that that I am running as a cron job
>> (crontab). A top-level script steps through a series of directories
>> and runs another script in each directory.
...
>Try running it under "sh" from the command-line as that's what it'll run under
>as a cron job.
The only thing that automatically runs under sh is the command line in the
crontab file itself. If this command line executes a script, it uses
whatever shell or interpreter is specified in the #! line of the script.
-- Barry Margolin, barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: Ed Morton: "Re: crontab bash script failure"
- Previous message: Ed Morton: "Re: crontab bash script failure"
- In reply to: Ed Morton: "Re: crontab bash script failure"
- Next in thread: Ed Morton: "Re: crontab bash script failure"
- Reply: Ed Morton: "Re: crontab bash script failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|