Is this valid crontab time specification, doing what is expected:0 22-4 * * *Or is it necessary to do something like0 22,23,0,1,2,3,4 * * *
Crontab entry with hour range going over midnight
cron
I've never attempted to use a range like that, and I'm not sure whether it would work. So my first advice would be to test it and see what happens - though probably with a script that only does a log entry or something else innocuous.Second, for ATT and BSD cron you can't have ranges and lists co-existing, so there you'd either have to list each hour separately or have two lines, one with the range and one with the list.