I had this setup in manjaro where I used anacron in user mode to run backups daily. I followed this -
http://akeil.net/posts/user-controlled-anacron.html
Here’s my crontab
crontab -l
# run anacron to check daily/monthly/weekly
01 * * * * /usr/sbin/anacron -t /home/akya/.anacron/anacrontab -S /home/akya/.anacron/spool
# run hourly jobs
01 * * * * nice run-parts /home/akya/.anacron/cron.hourly
My anacrontab in ~/.anacron/anacrontab
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/home/akya/bin
#MAILTO=root
HOME=/home/akya
LOGNAME=akya
# the maximal random delay added to the base delay of the jobs
RANDOM_DELAY=45
# the jobs will be started during the following hours only
START_HOURS_RANGE=7-22
#period in days delay in minutes job-identifier command
1 5 cron.daily nice run-parts /home/akya/.anacron/cron.daily >> /home/akya/.anacron/logs/daily-backup.log 2>&1
7 25 cron.weekly nice run-parts /home/akya/.anacron/cron.weekly >> /home/akya/.anacron/logs/weekly-backup.log 2>&1
@monthly 45 cron.monthly nice run-parts /home/akya/.anacron/cron.monthly >> /home/akya/.anacron/logs/monthly-backup.log 2>&1
Then I linked my backup scripts in the folders as mentioned in the article. They have proper permissions. This exact setup worked in manjaro. But not working in EndeavourOS. Here is my journalctl from today -
https://clbin.com/A8lf5
I suspect it’s some minor issue or something I am missing. Would love some help, thank you!