I have set up a script in the /etc/cron.daily folder which is not executed for some reason.
This is the script, I have blurred out the upload to my personal ftp server and switched to github.
I 've already tested it executing it directly and have ssh keys deployed on github, no passphrase is asked even after reboot, so it should run ok, but it is not.
Last edited by twilight on Mon Dec 21, 2020 10:17 am, edited 1 time in total.
did you checked to have the script located directly inside /etc/cron.daily and not using a symlink. As well you can have a look what will be executed as follow
you could run run-parts --test /etc/cron.daily to check which scrits are going to be executed. And using run-parts /etc/cron.daily to actually have them executed. As well you can have a look if cron is executed at all journalctl -u cron.service or systemctl status cron.service
Btw: if you don't like to play with all daily cron jobs, you can move your script into /etc/cron.monthly: Usually it should be empty.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team