I've got a script that automatically renders and saves the render, but I'd also like to have Blender quit when the render and save is completed. Since I will be running renders overnight, I'd prefer to have it shut off when finished.
I've checked out the alarm_and_shutdown script by Metelskiy and Nikitin, but it's for windows.
Any ideas?
Turns out that the command is bpy.ops.wm.quit_blender()