From: "Abraham Schneider" <aschneider@(email surpressed)>
Subject: Re: Automatically delete logs when dumping job?
   Date: Mon, 28 Jan 2008 11:40:18 -0500
Msg# 1669
View Complete Thread (7 articles) | All Threads
Last Next
Ok, sorry, think it was my confuse english :)

The syntax to start the script is clear and fine. But if I dump a specific job, normally I'd like to do something with the script that was rendered with this job.

So if I'd like to delete the log folder of this job, I have to tell my cleanup script, which log folder to delete. So how can I get the name of the actual log folder, script name, etc. inside my cleanup script, because there is no syntax like:

-nolog perl /path/to/your/cleanup.pl submitted_script logfile_dir

Does this make it clear?

Abraham


Greg Ercolano schrieb:
[posted to rush.general]

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.
[..]

--
Abraham Schneider
Senior VFX Compositor
ARRI Film & TV Services GmbH  Tuerkenstr. 89  D-80799 Muenchen / Germany
Phone (Tel# suppressed) Email aschneider@(email surpressed)
www.arricommercial.de
www.arri.de

ARRI Film & TV Services GmbH
Sitz: München  -  Registergericht: Amtsgericht München  -  Handelsregisternummer: HRB 69396
Geschäftsführer: Franz Kraus

Last Next