File "repeat.csh"

Full path: /www/ansys/qgis/011_yokohama/output/terminal/repeat.csh
File size: 325 B
MIME-type: text/x-shellscript
Charset: utf-8

Download   Open   Back

#!/bin/sh

# 基準時刻を取得
base_min=`date '+%M'`
base_sec=`date '+%S'`
while [ 1 ]
do
	min=`date '+%M'`
	sec=`date '+%S'`
	
	add_sec=`expr $sec + 5`
	
	/usr/bin/php -f /www/ansys/rctm/002_hitachinaka_2/output/terminal/output.php
	
	if [ $add_sec -le 59 -a $min -eq $base_min ]
	then
		sleep 5s
	else
		break
	fi
done

PHP File Manager