Adam Carolla didn’t spend much time on the unemployment line.

A day after his Los Angeles-based morning radio show was canceled — as part of a format change at KLSX-FM, where the syndicated “The Adam Carolla Show” was based — CBS picked up a comedy pilot starring the actor-comedian.

“Ace in the Hole” stars Carolla as a husband and father who works as a driving instructor. Carolla created and wrote the pilot with Kevin Hench (“Jimmy Kimmel Live”).

CBS Paramount Network TV is behind the show, along with BermanBraun and Jackhole Prods.

Carolla and Hench also collaborated on “The Hammer,” the 2007 feature film that starred Carolla as an amateur boxer. Hench also worked on “The Man Show,” which Carolla co-hosted with Jimmy Kimmel.

Carolla’s other credits include the Comedy Central skein “Too Late With Adam Carolla,” TLC’s “The Adam Carolla Project,” Comedy Central’s “Crank Yankers” and a stint on “Dancing With the Stars.”

Carolla and Hench will exec produce “Ace in the Hole” with Gail Berman and Lloyd Braun. ABC latenight gabber Kimmel and Daniel Kellison, who both run Jackhole with Carolla, will also exec produce; James Dixon is also an exec producer. (Pilot reunites Braun and Kimmel; Braun was instrumental in putting Kimmel into latenight back when he ran ABC Entertainment.)

Project also keeps Carolla on the CBS payroll. CBS Radio owns KLSX, which dumped its “FM Talk” format for the top 40 “Amp Radio” on Friday; before his morning gig, Carolla spent several years as co-host of the call-in show “Loveline,” which is based at CBS’ KROQ-FM.