Search found 911 matches

by timurhai
Thu Apr 16, 2020 5:27 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10064

Re: JSON Request for task

There are several types of task info and requests.
That's why i say that the best way is to get what you want from a GUI and see a JSON object.
by timurhai
Thu Apr 16, 2020 4:34 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10064

Re: JSON Request for task

Server has only JSON API. Python module (API) just helps you to construct a valid JSON objects.
by timurhai
Thu Apr 16, 2020 4:24 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10064

Re: JSON Request for task

You can open it in GUI and see logs.
by timurhai
Thu Apr 16, 2020 12:51 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10064

Re: JSON Request for task

You can open Web GUI and see network log to see how it works.
Also you can launch AfWatch in a terminal (linux), it prints json requests too.

If you need to get job all tasks, you can get job with tasks at once:
https://github.com/CGRU/cgru/blob/maste ... bs.json#L8
by timurhai
Thu Apr 16, 2020 12:29 pm
Forum: General
Topic: JSON Request for task
Replies: 12
Views: 10064

Re: JSON Request for task

Hi!
Block and task id is just their number (array index), 0 - is the first, 1 - is the second, n-1 - is the last.
by timurhai
Thu Apr 16, 2020 8:49 am
Forum: General
Topic: Job solving order - complete one task before starting next
Replies: 7
Views: 6712

Re: Job solving order - complete one task before starting next

So you missed USR button, not ORD

With ORD and JOBS branches will solve jobs by order (and not users by priority as you want).
by timurhai
Thu Apr 16, 2020 8:46 am
Forum: General
Topic: Job solving order - complete one task before starting next
Replies: 7
Views: 6712

Re: Job solving order - complete one task before starting next

Your branch V_/ has JOBS solving type. Set it USR (left panel button).

I should check Afanasy installation from scratch again.
May be there is bug, that branches under the ROOT/ got JOBS solving by default.
by timurhai
Thu Apr 16, 2020 8:31 am
Forum: General
Topic: Job solving order - complete one task before starting next
Replies: 7
Views: 6712

Re: Job solving order - complete one task before starting next

Hi. Since Afanasy Jobs are organized in the Branches hierarchy, solving settings are Branch parameters, so each Branch solving can differ. Later solver settings was in the config and can be only the same for the whole server. Farm resources are distributed along bnaches at first. Later along branch ...
by timurhai
Thu Mar 26, 2020 11:52 am
Forum: Setup
Topic: Shutdown rendernodes based on idle time
Replies: 4
Views: 5074

Re: Shutdown rendernodes based on idle time

I never used wake-on-lan for something other.
But i definitely know, that some others do.
People use it to shut down remote farm when render has finished.
See http://cgru.info/afanasy/server#wake_on_lan Configuration section.
You can write custom commands and do what you want.
by timurhai
Thu Mar 26, 2020 11:21 am
Forum: Setup
Topic: Shutdown rendernodes based on idle time
Replies: 4
Views: 5074

Re: Shutdown rendernodes based on idle time

Hi.
You can try to use Wake-On-Lan mechanism for it:
http://cgru.info/afanasy/server#wake_on_lan