Ignore:
Timestamp:
Sep 19, 2006, 1:30:33 PM (16 years ago)
Author:
Nicklas Nordborg
Message:

References #351: External job server usage

Most functionality is now in place. Only needs a bit more testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/jobagent/jobagent.properties.in

    r2643 r2648  
    6666## The class must implement the net.sf.basedb.clients.JobExecutor interface
    6767
    68 ## Executor that executes the jobs in a separate process (recommended)
     68# -------------------------------------------------------------------
     69# Executor that executes the jobs in a separate process (recommended)
     70# Options:
     71#  java = Path to the java executable
     72#  options = Extra command line options to pass to the java executable
     73# -------------------------------------------------------------------
    6974agent.executor.class=net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor
     75agent.executor.process.java=java
     76agent.executor.process.options=-server
    7077
    71 ## Executor that executes jobs in the same process as the job agent (not recommended)
     78# -------------------------------------------------------------------
     79# Executor that executes jobs in the same process as the job agent (not recommended)
     80# -------------------------------------------------------------------
    7281# agent.executor.class=net.sf.basedb.clients.jobagent.executors.ThreadJobExecutor
    7382
    74 ## Executor useful for debugging purposes
     83# -------------------------------------------------------------------
     84# Executor useful for debugging purposes. It just marks the job as
     85# executed without really executing it.
     86# Options:
     87#  wait = Number of seconds it takes to execute a job
     88# -------------------------------------------------------------------
    7589# agent.executor.class=net.sf.basedb.clients.jobagent.executors.DummyJobExecutor
     90# agent.executor.dummy.wait=120
    7691
    77 ## Initialisation parameters to the job exector. This string will be passed
    78 ## unmodified to the JobExecutor.init() method
    79 agent.executor.init=
    8092
    8193## Number of seconds between checks to the job queue
Note: See TracChangeset for help on using the changeset viewer.