Crontab permission help needed

I’m using crontab to copy files, using rsync, from hard drive to an external drive for additional backup. if I start a job myself, it works fine, all files copied.
If crontab start the same job automatically at a given time, I get permission error for some files, not all.

running Mac Sonoma 14.1.2
my rsync command : rsync -avrz --chmod=gu+rw --progress etc.

Can anybody help ?

Are you using launchd + a plist, or some other method?

No idea, crontab starts my job and my job starts rsync.

How are you getting it into crontab?

I did it with a shell script in an Xojo application
crontab ." + textfile.txt

What is an example of a file that fails?

Have you tried to make a LaunchAgent with Lingon or similar?