You need to create the file/symlink in /etc/cron.* without an extension. Also make sure that all commands inside local-backup-rpool.sh and local-backup-nvpool.sh are in PATH or use absolute paths.
Test like this
# Dry/debug run
run-parts --test...
Awesome - the .sh extension was the problem. Thank you :)
btw, just to make sure about PATH:
is the ENV the same for the cron job as it is on the root shell?
sure :)
system log:
Jan 20 10:17:01 pve1 CRON[3377558]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
Jan 20 10:17:01 pve1 CRON[3377557]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)...
I simply placed a symlink to a bash script in /etc/cron.hourly. For some reason, it is not working. The script itself works when executed manually in the shell.
It seems that run-parts is executed, but "nothing happens". Really strange for such...