Page 1 of 1

Extra parameter for post processing script - "Last item in queue"

Posted: November 1st, 2010, 12:21 pm
by Jorbes
Hi

My post processing script does some "not so heavy but heavy enough to avoid when not strictly needed" work on the box.
It does this after each download, but it would be okay if it just did this on becoming idle, say after the last item in the queue has been downloaded, etc.
An extra parameter 1 / 0 / "number of items left after this one" would be very helpfull, thanks!

Cheers.

Re: Extra parameter for post processing script - "Last item in queue"

Posted: November 1st, 2010, 5:51 pm
by shypike
You can already set and end-of-queue script.

Re: Extra parameter for post processing script - "Last item in queue"

Posted: November 5th, 2010, 4:58 am
by Jorbes
shypike wrote: You can already set and end-of-queue script.
Yes, very nice, but for the life of me, I cannot figure out where that script will "echo" to.
Each download has a nice script output page, for queue complete, I cannot  find the output anywhere.

Thanks,
J.

Re: Extra parameter for post processing script - "Last item in queue"

Posted: November 5th, 2010, 6:45 am
by shypike
The output of an end-of-q script is not captured.
We couldn't think of a place to put it and frankly neither of a use-case that makes this desirable.

Re: Extra parameter for post processing script - "Last item in queue"

Posted: November 6th, 2010, 2:12 pm
by Jorbes
shypike wrote: The output of an end-of-q script is not captured.
We couldn't think of a place to put it and frankly neither of a use-case that makes this desirable.
ok, i'll have my script create it's own log file and output to there or something.