Denypublic cron job error/bug

Hi,

I am getting a cron job error with /etc/cron.daily/denypublic
With the error

/etc/cron.daily/denypublic:
run-parts: failed to exec /etc/cron.daily/denypublic: Exec format error
run-parts: /etc/cron.daily/denypublic exited with return code 1

I noticed when I go into the file there is no #!interpreter could that be the issue, running on Debian 10 with QB Pro.
I have editted it on my test box with #!/bin/bash at the moment, not sure if it should be sh or something else.

Regards,
Garry