The below flow will give one output every minute between 08:00 and 17:00 and one output only once at 17:00.
you need to install node-red-contrib-cron-plus
for this.
[{"id":"6730fda3df8bc09d","type":"change","z":"b4466d762546d11c","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"The Time is 17:00 Now","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":560,"y":120,"wires":[["1ddb4485cfcd9596"]]},{"id":"61869761095561a5","type":"switch","z":"b4466d762546d11c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"A","vt":"str"},{"t":"eq","v":"B","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":370,"y":100,"wires":[["6332ee2f0b0b2e3d"],["6730fda3df8bc09d"]]},{"id":"1ddb4485cfcd9596","type":"debug","z":"b4466d762546d11c","name":"debug 19","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":760,"y":140,"wires":[]},{"id":"6f40b9cda9c211cd","type":"cronplus","z":"b4466d762546d11c","name":"","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule1","topic":"topic1","payloadType":"str","payload":"A","expressionType":"cron","expression":"0 */1 8-16 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"schedule2","topic":"topic2","payloadType":"str","payload":"B","expressionType":"cron","expression":"0 0 17 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":200,"y":100,"wires":[["61869761095561a5"]]},{"id":"6332ee2f0b0b2e3d","type":"change","z":"b4466d762546d11c","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"The Time is between 08:00 and 17:00","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":560,"y":80,"wires":[["45af6e17ad6e8334"]]},{"id":"45af6e17ad6e8334","type":"debug","z":"b4466d762546d11c","name":"debug 18","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":760,"y":60,"wires":[]}]