If you're talking pilots specifically, normally, if we're in a simulator, we get 24 hours notice, just to say that somebody is coming with you. If it's a line check, they show up at the gate, so it's completely unannounced.
On June 10th, 2014. See this statement in context.