Run cron job every 10 minutes, from 4:40 to 0:15
Solution 1:
Sometimes you just have to break out the ugly, and duplicate entries to get selection logic like that. It should work and be pretty apparent with what it's doing without uber cron-fu knowledge.
40,50 4 * * * script */10 5-23 * * * script 0,10 0 * * * script
Oh, and a helpful site for generating these: http://www.openjs.com/scripts/jslibrary/demos/crontab.php