3781
post-template-default,single,single-post,postid-3781,single-format-standard,stockholm-core-1.0.8,select-child-theme-ver-1.1,select-theme-ver-5.1.5,ajax_fade,page_not_loaded,wpb-js-composer js-comp-ver-6.0.2,vc_responsive

Auto shutdown PC after rendering with Backburner

Recently I have been rendering images over night. I have been submitting jobs after I have finished work for the day, and then leaving the PC to do it’s job. The only problem was that the PC could be sat idle for hours at a time after rendering has finished, especially if I didn’t have too much to render. In the past I have used Team Viewer to remotely log in, and shut down the PC, but this relied on 2 things, me knowing approximate when the renders would finish, and me being awake to log in!

This was far from ideal, so I started searching around, and found a solution, which after some time tweaking, has become a real addition to my work-flow.

This solution is dead easy to use. I use 3Ds Max 2012, Backburner and Windows 7 64 Pro, and so cannot guarantee it will work on anything else, but it probably will!

 

1. Download this script shutdown.ms (you might have to right click, save as)

2. Copy the file to your 3Ds Max scripts folder (this isn’t essential, but it’s where I keep it)

3. Edit / open the script using either the Max Script Editior, or just note pad.

4. Where is says YOURCOMPUTERNAME, delete this and replace it with your computer name. You can usually see this in My Computer. Save the file, and close.

5. Open 3Ds Max, and open the Render Set-up window. Scroll down to the Scripts Tab.

ad_blog_shutdown_001

6. In the Post-Render area, click File… and select shut-down.ms

7. Tick Net Render, and hit Render. Submit the job as you would normally, but assign a priority higher than your other render jobs (by higher I mean lower priority, usually above 50. I use 99 just to be safe!)

8. So when you have submitted the shut-down job, and all your other jobs, you should have a Backburner which looks like this –

ad_blog_shutdown_002

Notice how “shutdown” is the last job, so your PC will only shut-down after each job has rendered.

And that’s it! The reason why I use this technique is because I can re-start the shut-down job every time I need to use it. I know I could apply the shutdown.ms script to the last job, but if I needed to restart the job then the PC would shut-down every time that job rendered, and there’s no way to stop it once that script has been run!

I should also note that this method came after reading a post by Sergey Pogosyan, sadly my scripting knowledge isn’t brilliant, but I get by!

Anyway, I hope this is useful to someone!

Happy Friday!

 

Deano

No Comments

Post a Comment