Set Mac to wake and run scripts while sleep mode

I'm a python developer and I would like the Mac to awake from sleep when I set it to (on its own) and run some scripts or certain programs during the day. On windows there's "Task Scheduler" that dose it just great, the pc wakes on its own and runs programs. I heard about the "Mac automator" and I don't think it has the availability to wake the Mac from sleep to run programs.