On 14.05.2023 19:58, Per Jessen wrote:
I'm having an issue with a new cronjob - the machine is running leap155. I have a userid "dns24" which originally had a homedir of "/srv/dns24". We decided not to use that after all, but didn't change and then noticed these in the log:
2023-05-14T18:41:01+02:00 dns24 systemd[1]: Started User Manager for UID 111. 2023-05-14T18:41:01+02:00 dns24 systemd[1]: Started Session c17 of User dns24. 2023-05-14T18:41:01+02:00 dns24 cron[26821]: pam_unix(crond:session): session opened for user dns24 by (uid=0) 2023-05-14T18:41:01+02:00 dns24 CRON[26831]: (dns24) CMD (make -r -C /srv/dns24.admin -f Makefile.database) 2023-05-14T18:41:01+02:00 dns24 CRON[26831]: (CRON) ERROR chdir failed (/srv/dns24): No such file or directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Did you look inside your Makefile?