Analyze and defrag files on schedule

I have a system that gets heavily fragmented every single day. Right now I'm logging in daily and running an analyze and then selecting the files and doing a defrag of only the fragmented files. There's no way to script this or to do this as a schedule, but there should be.

Using the exclude list is cumbersome and misses files routinely.