Newbie question: Why aren't my cron jobs running?

Ramiro Caso ramirocaso08 at gmail.com
Tue Jun 12 12:16:03 UTC 2012


On 11/06/2012 23:10, Michael Sierchio wrote:
> On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry <walterhurry at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list