Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 19:10:21 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        Walter Hurry <walterhurry@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie question: Why aren't my cron jobs running?
Message-ID:  <CAHu1Y70YJ6voMx2YPfPoxBVhQ5Pje4h%2BfanpLkCKz-CGBMW78w@mail.gmail.com>
In-Reply-To: <jr683k$gum$1@dough.gmane.org>
References:  <jr683k$gum$1@dough.gmane.org>

index | next in thread | previous in thread | raw e-mail

On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry <walterhurry@gmail.com> wrote:
> As the subject says, this is probably a newbie question (I am new to

> FreeBSD but quite experienced at Linux).
>
> FreeBSD9 on x86_64.
>
> Cron is running:
>
> $ ps -ax|grep cron
>
>  1513  ??  Is     0:00.01 /usr/sbin/cron -s
>
>  2283   0  S+     0:00.00 grep cron
>
> $
>
> I have a syntactically valid crontab:
>
> $ crontab -l
> #min hr dom month dow command
>
> SHELL=/bin/bash
>
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
> daddy/bin
>
> HOME=/home/walterh
>
>  00  02 *   *     *   /home/walterh/exports.sh
>
>  05  02 *   *     *   /home/walterh/backup_etc.sh
>
>  10  02 *   *     *   /home/walterh/systemcheck.sh
>
>  15  02 *   *     *   /home/walterh/backup_bsd.sh
>
> $
>
> So what is wrong? Why is nothing happening? I have consulted the handbook
> but see nothing.

Have you installed bash?  It's not in the system base.

What's in your shell scripts?

- M


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y70YJ6voMx2YPfPoxBVhQ5Pje4h%2BfanpLkCKz-CGBMW78w>