How can I stop a script from overriding my publish time?

I have Facebook posts automations set up to post on the publish date but I’ve also added a time. Ascript runs around midnight every night and posts them all for the day rather than it posting at the times I have set. How can I correct this?