Index | Thread | Search

From:
Josh Grosse <josh@jggimi.net>
Subject:
Re: anacron didn't work
To:
ports@openbsd.org, Manfred Koch <md-koch@t-online.de>
Date:
Tue, 25 Nov 2025 18:08:51 -0500

Download raw body.

Thread
On Tue, Nov 25, 2025 at 04:01:53PM +0100, Manfred Koch wrote:
> Hello Josh,
> 
> I have read the pkg-readmes of anacron. My /etc/anacrontab
> file contains the following content:
> 
> # /etc/anacrontab example
> SHELL=/bin/sh
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> HOME=/var/log
> # format: period delay job-identifier command
> 1?? ??5?? ??cron.daily?? ?? ?? /bin/sh /etc/daily
> 7?? ??10?? cron.weekly?? ?? ??/bin/sh /etc/weekly
> 30?? 15?? cron.monthly?? ?? /bin/sh /etc/monthly
> 
> Thanks for your reply
> Manfred

It looks, from your reply, that you've used the example anacrontab(5)
but did not add your /usr/local/bin/script to it.  If so, that's why
the script isn't being run by anacron.

Please follow up, if needed, to ports@ rather than misc@. Anacron is a
third party package and is not part of the base system.