From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Automatically delete logs when dumping job?
   Date: Mon, 28 Jan 2008 11:00:22 -0500
Msg# 1668
View Complete Thread (7 articles) | All Threads
Last Next
Abraham Schneider wrote:
> Thanks for your answer. Haven't had time to look on this topic for some
> days. Now that I did, I just recognized that I just don't know how to
> reference to the actual script I submitted from inside my dumpcommand
> script.

	It's pretty much just as shown in the example towards the
	bottom of the last post, where you would specify at the
	"Job Dump Command" prompt something like:

Job Dump Command: -nolog perl /path/to/your/cleanup.pl

	..where you specify the interpreter (in this case, 'perl')
	and the path to your dump command script.

	If your script were a csh script, then you might use:

Job Dump Command: -nolog csh -f /path/to/your/cleanup.csh

	If you prefer writing it as a DOS batch script (ie. if
	you're windows only), then you should be able to do:

Job Dump Command: -nolog cmd /c /path/to/your/cleanup.bat

> Would be nice if you could give me a hint. Are there any variables that
> I can use in a shell script or how does this work?

	Hmm, not sure what variables would help you derive
	the path to your script.. you should really just specify
	it as an absolute path, the way you would a path to
	the shake files, or image directories.

	Hope that helps; let me know if I'm missing something
	about your question.

-- 
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

Last Next