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
On 11/25/25 00:49, Josh Grosse wrote:
Transitioning follow ups to ports@
On Mon, Nov 24, 2025 at 11:05:09PM +0100, Manfred Koch wrote:
Hello,
I have roots crontab -e with the conent:
7?? ?? ?? ??5?? ?? ?? ??*?? ?? ?? ??*?? ?? ?? ??*?? ?? ??
??/usr/local/bin/script (This works with cron)
@reboot /usr/local/sbin/anacron -ds
But if the computer is not running at this time, it does not work.
daily, weekly, monthly(anacron worked)
/usr/local/bin/script(anacron didn't work)
Can somebody help?
Manfred
You might have missed the OpenBSD-specific README that gets
installed with the package.
/usr/local/share/doc/pkg-reames/anacron