Power Utility is an application that let your Mac, when unattended, to restart, shutdown, sleep, or even logout, basing all on specific conditions or on time schedules. All this can be performed using standard controls that anyone can use, no coding being required.