New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
cron_jobs.ksh in trunk/NVTK/INSTALL/JOBS – NEMO

source: trunk/NVTK/INSTALL/JOBS/cron_jobs.ksh @ 1564

Last change on this file since 1564 was 1402, checked in by smasson, 15 years ago

supress ax6_mono from NVTK, see ticket:412

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 749 bytes
Line 
1#!/usr/bin/ksh
2# $Id$
3######################################################
4# Original : C. Talandier for NEMO team
5# Contact  : nemo_st@locean-ipsl.upmc.fr
6#
7# This script is launched by the lance_batch.ksh script
8# for a given configuration.
9# It aims to (for each standard configuration) check if
10# there are jobs in queue associated with the considered
11# configuration.
12# If jobs are still in queue it re-launched itself either
13# it launchs the assessment.ksh script
14######################################################
15
16#set -xv
17
18CONF=$1
19CONFS=$2
20LJOBS=qstat
21
22JOBS_LIST=` ${LJOBS} |  grep -c ${CONFS}`
23if [ ${JOBS_LIST} = 0 ]
24then
25    sleep 60
26    ./assessment.ksh ${CONF} &
27    exit
28fi
29sleep 300
30./cron_jobs.ksh ${CONF} ${CONFS} &
31exit
32
Note: See TracBrowser for help on using the repository browser.