source: trunk/src/clients/jobagent/jobagent.sh @ 2641

Last change on this file since 2641 was 2634, checked in by Nicklas Nordborg, 16 years ago

References #351: External job server usage

Communincation with the job agent is now working fairly well. The job agent can check for new
jobs but not start them. Need to add more error handling and logging as well.

Added more utility classes to the net.sf.basedb.core.util package and subpackages that may
be useful for other client applications in the future.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#!/bin/sh
2# $Id: jobagent.sh 2634 2006-09-12 12:24:28Z nicklas $
3#
4# Copyright (C) Authors contributing to this file.
5#
6# This file is part of BASE - BioArray Software Environment.
7# Available at http://base.thep.lu.se/
8#
9# BASE is free software; you can redistribute it and/or
10# modify it under the terms of the GNU General Public License
11# as published by the Free Software Foundation; either version 2
12# of the License, or (at your option) any later version.
13#
14# BASE is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place - Suite 330,
22# Boston, MA  02111-1307, USA.
23#
24
25# Import CLASSPATH($CP)
26. ./includes
27
28# Add jobagent specific classes to the CP
29CP=$CP:./JobAgent.jar
30
31# Execute JobAgent
32java -server -Xmx40M -Xms40M -cp $CP net.sf.basedb.clients.jobagent.AgentController $* &
Note: See TracBrowser for help on using the repository browser.