The pilots should arrive at the aircraft, in most cases, between 60 and 40 minutes prior to departure. Try to be at the gate before they are and ask them for cockpit tours before they board. If you miss then, just ask the flight attendant at the aircraft door when you board.