So this came up on another forum, but those are mostly software people, so I thought I'd ask here.
Some times you see the case/can of a crystal in a circuit nicely (or not so nicely) soldered to the ground plane of a PCB. But not really that often. Sometimes you even see crystal packages with a lead or tab on the can designed to make this easy. But those are not very common, and for a lot of the smaller "modern" crystal packages, making such a connection ranges between "inconvenient" to "nearly impossible" (OTOH, there are also modern packages that include ground pads...)
So ... when is it important to ground the can of a crystal? Offhand, I'd guess something like "if the crystal is being used in a low signal-level filter and is nearby other components running at similar frequencies, ground the can may be useful. In most digital circuits where the crystal is being used in a relatively high-power simple oscillator, it's not important..."