Scheduling a Single Machine to Minimize a Regular Objective