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 tags/nemo_v3_2/nemo_v3_2/NVTK/INSTALL/JOBS – NEMO

source: tags/nemo_v3_2/nemo_v3_2/NVTK/INSTALL/JOBS/cron_jobs.ksh @ 1878

Last change on this file since 1878 was 1878, checked in by flavoni, 14 years ago

initial test for nemogcm

File size: 800 bytes
Line 
1#!/usr/bin/ksh
2# $Id: cron_jobs.ksh 1576 2009-08-04 13:56:13Z ctlod $
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
18REXPE=$1
19CONFS=$2
20LJOBS=qstat
21
22JOBS_LIST=` ${LJOBS} |  grep -c ${CONFS}`
23if [ ${JOBS_LIST} = 0 ]
24then
25    sleep 60
26    ./assessment.ksh ${REXPE} &
27    exit
28fi
29sleep 300
30./cron_jobs.ksh ${REXPE} ${CONFS} &
31exit
32
Note: See TracBrowser for help on using the repository browser.