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>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>
> =A01513 =A0?? =A0Is =A0 =A0 0:00.01 /usr/sbin/cron -s
>
> =A02283 =A0 0 =A0S+ =A0 =A0 0:00.00 grep cron
>
> $
>
> I have a syntactically valid crontab:
>
> $ crontab -l
> #min hr dom month dow command
>
> SHELL=3D/bin/bash
>
> PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home=
/
> daddy/bin
>
> HOME=3D/home/walterh
>
> =A000 =A002 * =A0 * =A0 =A0 * =A0 /home/walterh/exports.sh
>
> =A005 =A002 * =A0 * =A0 =A0 * =A0 /home/walterh/backup_etc.sh
>
> =A010 =A002 * =A0 * =A0 =A0 * =A0 /home/walterh/systemcheck.sh
>
> =A015 =A002 * =A0 * =A0 =A0 * =A0 /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



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