BASE 2.0 - Administrator documentation: jobagent.sh reference

This document describes how to use the jobagent.sh command line interface for controlling the job agent.

Last updated: $Date: 2007-08-16 14:16:43 +0000 (Thu, 16 Aug 2007) $
Copyright © 2006 The respective authors. All rights reserved.

The general syntax is:

./jobagent.sh [options] command

All options are optional, but a command must be specified.

Options

Option Default value Description
-c jobagent.properties Which configuration file to use for the job agent. For example:
./jobagent.sh -c other.config start

Commands

Command Description
register Register the job agent with the BASE server. If the job agent already exists this command does nothing.
unregister Unregister/delete the job agent from the BASE server. If the job agent doesn't exist this command does nothing.
start Start the job agent. It will now check the datbase for jobs that are waiting to be executed.
pause Pause the job agent. The job agent will continue running but doesn't check the database for jobs. To start it again use the start command.
stop Stop the job agent. To start it again use the start command.
info Get information about the job agent.
help Display usage information.