Bloggings

Back

Replace Anacron on Artix

2025-06-16

Anacron is a systemd process with a simple replacement

As root type crontab -e

Note: You can use your favorite editor, for example micro:

export EDITOR=micro; crontab -e

add these lines:

SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 0 18 * * * root run-parts /etc/cron.daily 22 18 * * 0 root run-parts /etc/cron.weekly 42 18 1 * * root run-parts /etc/cron.monthly

and save.

Source: artix forum

 


ยง