Hi Josh,
yes you are right, I have added /usr/local/bin/script to anacrontab
and it worked.
Thank you
Manfred
On 11/26/25 00:08, Josh Grosse wrote:
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.