Fire code says your emergency generator must be online automatically within 10 to 60 seconds, depending on occupancy. This is a LIFE SAFETY issue. Most locations have this provision built into municipal code or state ordinance. See section IFC 604.
All modern generators are capable of meeting this requirment. See my checklist for detailed instruction.
Generator Inspection Checklist