I've got several diesels that are run intermittently without a problem.
As noted already, diesel doesn't deteriorate nearly as quick as gasoline. However, there is a fly in the ointment: some of today's diesel fuels contain bio additives that can deteriorate much faster. And, bio-diesel attracts water much more than regular diesel, and thus is much more likely to need biocides to kill growing microbes (BioBorJF is one of the best). So, avoid biodiesels as much as you can, and if you can't, watch it closely for microbial growth and use it up within six months or so to be safe.