Re: Problems with a bash script and cron

2000-10-13 Thread Felix Hagemann
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

Re: Problems with a bash script and cron

2000-10-13 Thread Wayne Topa
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: >

Re: Problems with a bash script and cron

2000-10-13 Thread Felix Hagemann
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

Re: Problems with a bash script and cron

2000-10-11 Thread Wayne Topa
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: > > > >

Re: Problems with a bash script and cron

2000-10-11 Thread will trillich
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

Re: Problems with a bash script and cron

2000-10-11 Thread Felix Hagemann
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!

Re: Problems with a bash script and cron

2000-10-10 Thread W. Paul Mills
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

Re: Problems with a bash script and cron

2000-10-10 Thread Krzys Majewski
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

Re: Problems with a bash script and cron

2000-10-09 Thread Tommi Komulainen
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

Re: Problems with a bash script and cron

2000-10-09 Thread Rino Mardo
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