Search found 10 matches

by gmaxera
Thu Mar 02, 2017 1:32 pm
Forum: Feature Requests
Topic: Max number of job started
Replies: 5
Views: 8988

Re: Max number of job started

Thanks for the starting point.
I'll have a look.
Luckily, I'm a C++/Qt/Python programmer and web developer :-)
by gmaxera
Thu Mar 02, 2017 11:09 am
Forum: Feature Requests
Topic: Max number of job started
Replies: 5
Views: 8988

Re: Max number of job started

Instead of doing a script, I'd rather prefer to contribute to Afanasy if you think this could be a nice feature to add. I was looking at the code and I found a way to implement that feature. I was thinking to add a check inside the "bool JobAf::v_canRun()" method just above the check of ma...
by gmaxera
Thu Mar 02, 2017 9:55 am
Forum: Feature Requests
Topic: Max number of job started
Replies: 5
Views: 8988

Max number of job started

Hello, I need to limit the number of simultaneous jobs started. Not Tasks, but jobs. And I don't see any option into afanasy server to limit this number. I'll explain in detail my user-case: All my jobs contains multiple tasks and the first one is just for setting some directories, very fast and req...
by gmaxera
Thu Feb 23, 2017 11:10 am
Forum: General
Topic: Example how to set up a custom event handler?
Replies: 4
Views: 6343

Re: Example how to set up a custom event handler?

Thank you !

I was looking for 1 hour to config.json for a line such

"af_sysjob_events_service":"events"

without finding it :-D

It was there under my eyes all the time :-D

Thanks,
Gianluca.
by gmaxera
Thu Feb 23, 2017 9:54 am
Forum: General
Topic: Example how to set up a custom event handler?
Replies: 4
Views: 6343

Example how to set up a custom event handler?

hello, I read in the documentation about the possibility to attach event handler: http://cgru.info/afanasy/server#events But it's not clear to me what are the steps involved to: - create a custom event handler - set up the server to fire my event handler on JOB_DONE Is there an example ? Thanks, Gia...
by gmaxera
Mon Feb 20, 2017 10:53 am
Forum: General
Topic: Remove a render host from the list of host into Afanasy server
Replies: 6
Views: 8185

Re: Remove a render host from the list of host into Afanasy server

Thank you.

I wasn't on the route of touching internal server folders and files.
I'm going to sniff what request is being sent when I press the delete button from the web admin panel.
by gmaxera
Fri Feb 10, 2017 10:47 am
Forum: General
Topic: How to create a pattern type block from Python ?
Replies: 3
Views: 5541

Re: How to create a pattern type block from Python ?

Yes, I know.
But I don't see any Python for doing that in to the blue column.
There is only setNumeric.
The documentation I quoted is from that page you linked.

Could you provide a Python snippet code as example ?

Thanks,
Gianluca.
by gmaxera
Fri Feb 10, 2017 10:02 am
Forum: General
Topic: How to create a pattern type block from Python ?
Replies: 3
Views: 5541

How to create a pattern type block from Python ?

Hello, int the API documentation there is written the following: Tasks command pattern. When block produces a task it calculates an unique command from this pattern and other parameters, depend on block type - numeric or string, replacing @#@ pattern with a number. Padding is specified by the number...
by gmaxera
Thu Feb 09, 2017 4:29 pm
Forum: General
Topic: Remove a render host from the list of host into Afanasy server
Replies: 6
Views: 8185

Re: Remove a render host from the list of host into Afanasy server

Is there a command line to do the same ? or from Python ?

Thanks,
Gianluca.
by gmaxera
Thu Feb 09, 2017 4:08 pm
Forum: General
Topic: Remove a render host from the list of host into Afanasy server
Replies: 6
Views: 8185

Remove a render host from the list of host into Afanasy server

Hello, I'm a newbie of Afanasy and this is my first topic... so first of all I want to congratulate for this amazing tool :-) I'm playing with Afanasy and I saw that if I run the command /etc/init.d/afrender stop that host is still visible into the Afanasy Server Web gui and flagged as inactive / no...