Automation system and control of sterilization and pasteurization of canned