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

Want something added? Ask for it here.
Post Reply
Jorbes
Newbie
Newbie
Posts: 6
Joined: October 8th, 2010, 3:35 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

You can already set and end-of-queue script.
Jorbes
Newbie
Newbie
Posts: 6
Joined: October 8th, 2010, 3:35 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
Jorbes
Newbie
Newbie
Posts: 6
Joined: October 8th, 2010, 3:35 am

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

Post 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.
Post Reply