Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2000 11:40:42 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Nathan Vidican <webmaster@wmptl.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: /etc/crontab not work?
Message-ID:  <20000817114042.C6387@jonc.ntdns.wilsonandhorton.co.n>
In-Reply-To: <399A89CC.AA704AD6@wmptl.com>; from webmaster@wmptl.com on Wed, Aug 16, 2000 at 08:32:12AM -0400
References:  <399A89CC.AA704AD6@wmptl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 16, 2000 at 08:32:12AM -0400, Nathan Vidican wrote:
> I have two cron jobs which won't seem to run. If I run the exact same
> commands from a shell script, then everything goes well. There are no
> errors reported, nothing get's logged, yet nothing gets done either. The
> two entries in question are as follows:
> 
> # run Perl script which backs up our databases
> # permissions set to 755, runs if user types: /etc/database-backup
> # must be run as root, should run nightly at or around 8:00pm
> 10      20       *       *       *       root    /etc/database-backup
> 2>&1 | sendmail garbage

You could check /var/logs/cron for further details; but my guess is
that you need to put in an absolute pathname for the stuff in
/etc/database-backup or path-out sendmail ie /usr/sbin/sendmail.

Cheers.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                          "Opportunity does not knock,
       it presents itself when you beat down the door" - W.E. Channing


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000817114042.C6387>