SourceForge.net Logo

CGRU

LinkedIn
Since 1.6.7 (at 2012.12.03) site moved to cgru.info

Afanasy Job


Job Attributes:

  • Name - Each job has an unique name. If new job comes to server with the name which already exists, server change it's name by adding a number. Jobs dependence bases on their names and depend masks to match it. Afanasy standard Regular Expressions. The same expressions are in Pythob, PHP, Perl and other languages.
  • User Name - User name who has created the Job.
  • Host Name - Host name where job was created.
  • Creation Time - Time when the job was created.
  • Started Time - Time when the job was started (produced first task).
  • Time Done - Time when the job was done (last task finished).
  • Description - Any custom description. For database statistics queries only.
  • Blocks - Jobs consist of block which can produce tasks.

Job Editable Parameters:

  • Priority - Jobs with greater priority run first.
  • Maximum Running Tasks - Maximum number of running tasks at the same time.
  • Maximum Running Tasks Per Host - Maximum number of running tasks at the same time at the same host.
  • Hosts Mask - Job run only on renders which host name matches this mask.
  • Exclude Hosts Mask - Job can not run on renders which host name matches this mask.
  • Depend Mask - Job will wait other user jobs which name matches this mask.
  • Global Depend Mask - Job will wait other jobs from any user which name matches this mask.
  • Wait Time - Time to wait to start a job.
  • OS Needed - A mask to contain render host OS name to run on it.
  • Properties Needed - A mask to contain render host properties to run on it. It's custom host parameter can be defined in farm description.
  • Pre Command - Command to execute on job registration. Note, that this command is executed by server, and not from tasks working directory. Use absolute paths here or even transfer paths if you server has another file system than renders.
    Commands are executed in a special thread with commands queue. This means if somebody executes 'sleep 1000', other commands execution (and jobs registration) will be delayed on 1000 seconds (only delayed, not lost).
    Try not use Pre Command at all. You always can create one more task(block) and make other tasks(blocks) depend on it.
  • Post Command - Command executed on job deletion. This commands are executed on render farm hosts by special system job. Working directory of such system task will be the first block working folder.
  • Life Time - Maximum job age in seconds. When job age becomes greater then life time if will be automatically deleted in any case. It is useful for some technical jobs to prevent their amount rise. You can user default life time value for all its jobs.
  • Annotation - Job annotation. Does not influence anything. This string will be shown in GUI item.

Job State:

  • Ready RDY - Job is ready to produce a task.
  • Running RUN - Job has running tasks.
  • Done DON - All job tasks are done (or some skipped).
  • Error ERR - Job has some error tasks.
  • Skipped SKP - Some job tasks are skipped.
  • Waiting Dependencies WD - Job waits some other jobs.
  • Waiting Time WT - Job waits some time.
  • Offline OFF - Flag to server not to solve a job.
Since 1.6.7 (at 2012.12.03) site moved to cgru.info
SourceForge.net Project

CGRU

Libre Graphics World