I want to run a script on a daily basis, and figured that I'd use the same setup that the other cron jobs are configured on this server - by placing the script in the /etc/cron.daily
folder.
However, the script was not run overnight - although others in the daily folder were (logs were rotated, etc). The script is owned by root (as are the original ones in there), and the permissions are set to 755 (as are the original ones in there) - and the script runs when called manually.
I have found this related question Cron.hourly won't run but don't find the answers anywhere near satisfactory - sudo crontab -l
tells me there is no crontab for root (although, I know I can created one), and it would make more sense to use the same method as the preinstalled jobs anyway rather than split cron configuration.
Anyone able to point at something I might have missed?
For the record - the script filename is drupal