Not so much hunting as too close to the house and barns.
Even so. It's legal to shoot a coyote in California any time and anywhere, even in a County "no shoot zone" if it is a threat to livestock, but not with a rimfire cartridge. At least that's what DFW instructed me when I got a depredation permit for pigs.