counter

20081121

Shell script that execute JOBNET on JP1.

Execute JOBNET from termnal.

Usually use java base client in case of excute JOBNET on JP1. So I feel frastration to that hevy weight client. (I think my PC specs not too enough for development usage.) Thats why, I made shell script that execute JP1's JOBNET from telnet terminals. Script is simple. Invoke JOBNET fom ajsentry command.And then wait for a JOBNET. Then parse result and display it.

Script

Script is here.(named 'ajsrun.sh')
#!/bin/sh

JOB_NET=$1

echo "ajsentry -n -w $JOB_NET"
ajsentry -n -w $JOB_NET
echo "ajsshow -l -k -T $JOB_NET"
ajsshow -l -k -T $JOB_NET

Usage

From shell prompt...
ajsrun.sh JOBNET_NAME

Example

Invoke JOBNET '/aaaa/bbbb/JOBNET01'
bash-2.05$ ajsrun.sh /aaaa/bbbb/JOBNET01/
ajsentry -n -w /aaaa/bbbb/JOBNET01/
ajsshow -l -k -T /aaaa/bbbb/JOBNET01/
AJSPATH = /aaaa/bbbb/JOBNET01             net    正常終了         ***          2006/02/14 0:19  2006/02/14  0:20

bash-2.05$

No comments:

Followers

About Me

Tokyo, Japan
http://iddy.jp/profile/snaka/