If crontab mentions something like run-parts /etc/cron.daily, then run-parts may be refusing to run your script. In my case the script in cron.daily did not start with #!/bin/sh.
I discovered this by putting my script in a directory by itself and running run-parts against that directory.