From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: -licpause
   Date: Wed, 25 Apr 2007 20:11:03 -0400
Msg# 1534
View Complete Thread (3 articles) | All Threads
Last Next
Dado Feigenblatt wrote:
I can't get -licpause to work.
In irush, when I click <edit job> I see that every job has 1 minute for licpause by default, but my jobs keep dying.

	The "Lic Pause Secs" setting in "Job Edit" is only effective
	when the script invokes the command 'rush -licpause <YOUR_JOBID>'
	to pause the job. Then the "Lic Pause Secs" becomes active,
	determining how long the job stays paused, then requeues itself.

--- LICENSE ERROR: Encountered: Error: (Mayatomr) : could not get a license
Right after the function exits with error code 1.

	Yes, it looks like the script is not using 'rush -licpause' at all,
	it is just going into a 'try three times' loop, and then does whatever
	the "Retry Behavior" is set to.

	I need to add an option for how license errors are handled, so
	you can change the behavior between using licpause or not.

	I'll follow up here with a pointer to the modified script,
	which I'll make sure gets in the next release.

Also, is there a way to set the licpause interval at submission time instead of having to edit the jobs in irush? I can't find that on the forms. Adding "-licpause 00:05:00" to submit options returns an error.

	The correct syntax is to specify the command without the
	leading dash, eg:

                ______________________________..
               |
Submit Options: | licpausesecs 00:05:00
               |______________________________..

	Any of the 'Submit Commands' documented here can be put in that field:
	http://www.seriss.com/rush-current/rush/rush-submit-cmds.html#Submit%20Command%20Reference
	These commands are passed at the time the job is submitted.

	The rush command line options are different; they all start with a
	'-' prefix and are used to change a job that's already running.
	eg. 'rush -dump', 'rush -licpausesecs 00:05:00', 'rush -licpause', etc.
	Those are all documented here:
	http://www.seriss.com/rush-current/rush/rush-command-line-options.html

	You might be confusing these two functions:

		rush -licpausesecs 00:05:00     -- sets the timeout to 5 mins (does not pause the job)
		rush -licpause                  -- actually pauses the job

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

Last Next