Wayne Topa <[EMAIL PROTECTED]> writes:
> I had _not_ suggested he required the user field. Let me try this
> again;
>
> m h dom mon dow
> 0,15,30,45 * * *
>
> 0,15,30,45 * * * *
I`m sorry: I didn`t see that in fact one field was missing. I`ve just
seen it often that people g
Subject: Re: Problems with a bash script and cron
Date: Fri, Oct 13, 2000 at 01:34:30PM +0200
In reply to:Felix Hagemann
Quoting Felix Hagemann([EMAIL PROTECTED]):
> Wayne Topa <[EMAIL PROTECTED]> writes:
>
> > > > My crontab looks like this:
>
Wayne Topa <[EMAIL PROTECTED]> writes:
> > > My crontab looks like this:
> > >
> > > 0,15,30,45 * * * /home/laban/bin/chkwww
>
> so you might try
> 0,15,30,45 * * * * /home/laban/bin/chkwww
The `user` field exists only in the systemwide /etc/crontab. The
user-owned crontabs obviously don`t nee
Subject: Re: Problems with a bash script and cron
Date: Wed, Oct 11, 2000 at 08:27:58AM +0200
In reply to:Felix Hagemann
Quoting Felix Hagemann([EMAIL PROTECTED]):
> Lars Bjarby <[EMAIL PROTECTED]> writes:
>
> > My crontab looks like this:
> >
> >
Lars Bjarby <[EMAIL PROTECTED]> writes:
> My crontab looks like this:
>
> 0,15,30,45 * * * /home/laban/bin/chkwww
things to try:
1) chmod +x /home/laban/bin/chkwww
2) make sure you 'crontab -e' as same user you use
to run the script from the command prompt
Lars Bjarby <[EMAIL PROTECTED]> writes:
> My crontab looks like this:
>
> 0,15,30,45 * * * /home/laban/bin/chkwww
It's not in all man page versions I have seen: you're probably just
missing a trailing Newline at the end of your crontab.
HTH,
Fx
--
Gravity. It's not a rule, it's the law!
Sounds like a path problem to me!
Lars Bjarby <[EMAIL PROTECTED]> wrote:
: Hi!
: This question isn't really Debian specific, but as I use Debian I thought
: this was a good forum. I've got this small bash script that works perfectly
: when I run it from the shell, but it won't work when I try
Try replacing your script (call it script.sh) with another script
which does a
sh -x script.sh 2>&1 | logger
In my case problems like yours come from using commands which aren't
in the path. -chris
On Mon, Oct 09, 2000 at 07:22:34AM +0200, Lars Bjarby wrote:
> This question isn't really Debian specific, but as I use Debian I thought
> this was a good forum. I've got this small bash script that works perfectly
> when I run it from the shell, but it won't work when I try to run it
> through
try removing #!/bin/bash
---
who watches the watchmen?
- Original Message -
From: "Lars Bjarby" <[EMAIL PROTECTED]>
To:
Sent: Monday, October 09, 2000 9:22 AM
Subject: Problems with a bash script and cron
> Hi!
>
> This question isn't really
10 matches
Mail list logo