Notify the "Manager" computer of a complete Net-Render.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  01 January 2004
Notify the "Manager" computer of a complete Net-Render.

Hi All,

I asked if there was a way to do this out-of-the-box with max, but it seems like it isn't possible... so I'm wondering if a little MaxScript can do the job.

I want there to be some kind of a notification given to the "Manager" computer whenever a "Server" computer finishes a network-render job.

There is a setting that will notify through email, but thats a bit over-complicated... This notification could be a little popup window on the Manager computer - with a little sound that plays or something.

Could anyone do this with MaxScript?
I dont think it would be too difficult...

Thanks.
__________________

AKIN BILGIC
Modeler / Generalist TD
CGGallery.com
 
  01 January 2004
There's probably a way to do it using 'net send' through doscommand. Would require the Messenger service to be running on the manager box. Perhaps I'll look into this when I get my network back up and running.


RH
__________________
Got Maxscript?
RHTools
 
  01 January 2004
RE:Manager

Something like this would work I think --
You'd have to run it from the computer the manager was running on. Or you could run netsend as suggested above.

clearlistener()
file = "C:\thePathoftheSoundFile"
--
--
--Initialize
m = netrender.getmanager()
m.connect #automatic "255.255.255.0"
--get queue control
if (m.QueryControl #wait) do
(
m.getcontrol()
)
--getservers
server = m.getservers()
--
--
--getjobs
m.setupdates false
job = m.getjobs()
m.setupdates true
--
--
--functions
fn notify =
(
if (m.QueryControl #wait) do
(
m.getcontrol()
)
for i=1 to job.count do
(
if job[i].timeFinished != undefined
(
shelllaunch file
)
)
)
m.setcallback #update notify
 
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:01 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.