Best way to schedule a Python script?

I have a Python script that I want to start in the morning and terminate at night. Would it be better to implement this in Windows Task Scheduler or in the code itself?