IMHO this line will run each working day:
*/10 6-17 29-31 1,4,7,10 1-5 php script.php
The reason is days of week are related to rest of the definitions (minutes, hours, days, months) with function OR. The definitions minutes, hours, days, months are binded by AND funtion
P.S. So my proposal is to incorporate this login in the script itself