I use Time Machine and have it set to automatically backup every night at 6pm. I would like to know how to have my computer auto shutdown when the backup finishes. I’ve had no luck with AppleScript Editor.
Open the System preferences window (accessed via the Apple icon in top left of the menu bar). Select the lightbulb 'energy saver' icon. Select the Schedule button, and choose what time you want to start upa nd shut down your computer. The only complication is that you wont know how long it will take for the back up to do, but if it is a daily task, it wont take more than 20 minutes or so unless you have done a lot of work that day. Anyway its an easier option than teaching yourself scripting.
You can do this with a program called SuperDuper! but you will have to get the paid, full version. It's a nice application and it might be worth looking into.
perhaps you can modify backup interval