Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 09:15:59 -0300
From:      Ramiro Caso <ramirocaso08@gmail.com>
To:        Michael Sierchio <kudzu@tenebras.com>
Cc:        freebsd-questions@freebsd.org, Walter Hurry <walterhurry@gmail.com>
Subject:   Re: Newbie question: Why aren't my cron jobs running?
Message-ID:  <4FD732FF.4020404@gmail.com>
In-Reply-To: <CAHu1Y70YJ6voMx2YPfPoxBVhQ5Pje4h%2BfanpLkCKz-CGBMW78w@mail.gmail.com>
References:  <jr683k$gum$1@dough.gmane.org> <CAHu1Y70YJ6voMx2YPfPoxBVhQ5Pje4h%2BfanpLkCKz-CGBMW78w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/06/2012 23:10, Michael Sierchio wrote:
> 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

Pitfall: Even if bash is installed, it's not usually under /bin, but 
under /usr/local/bin

>>
>> 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
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"





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