<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF6350"
	title	= "スケジュール機能"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<!-- URLConnectDaemon の場合に利用するkyes,valsパラメータ -->
<og:equals val1="{@timerTask}" val2="Daemon_URLConnect" >
	<og:value command="SET" key="sckeys" value="url,proxyHost,proxyPort,method,useSystemUser,authUserPass" />
	<og:value command="SET" key="scvals" value="{@url},{@proxyHost},{@proxyPort},{@method},{@useSystemUser},{@authUserPass}" />
</og:equals>
<!-- Daemon_Report の場合に利用するkyes,valsパラメータ -->
<!-- 7.4.4.0 (2021/06/30) Delete -->
<!--<og:equals val1="{@timerTask}" val2="Daemon_Report" >
	<og:value command="SET" key="sckeys" value="MODBASE,MODNO,PRTID,PRT_GRP" />
	<og:value command="SET" key="scvals" value="{@MODBASE},{@MODNO},{@PRTID},{@PRT_GRP}" />
</og:equals>
-->
<!-- Daemon_Report の場合に利用するkyes,valsパラメータ -->
<og:equals val1="{@timerTask}" val2="Daemon_Report2" >
	<og:value command="SET" key="sckeys" value="MODBASE,MODNO,PRTID,PRT_GRP" />
	<og:value command="SET" key="scvals" value="{@MODBASE},{@MODNO},{@PRTID},{@PRT_GRP}" />
</og:equals>
<!-- 7.4.4.0 (2021/06/30) Delete -->
<!-- Daemon_MailReceive の場合に利用するkyes,valsパラメータ -->
<!--<og:equals val1="{@timerTask}" val2="Daemon_MailReceive" >
	<og:value command="SET" key="sckeys" value="HOST,USER,PASSWD,SUBJECT,RECEIVE_LISTENER" />
	<og:value command="SET" key="scvals" value="{@HOST},{@USER},{@PASSWD},{@SUBJECT},{@RECEIVE_LISTENER}" />
</og:equals>
-->
<!-- Daemon_RunShell の場合に利用するkyes,valsパラメータ -->
<og:equals val1="{@timerTask}" val2="Daemon_RunShell" >
	<og:value command="SET" key="sckeys" value="workDir,program,useBatch,wait,stdout,stderr" />
	<og:value command="SET" key="scvals" value="{@workDir},{@program},{@useBatch},{@wait},{@stdout},{@stderr}" />
</og:equals>

<!-- keys,valsはURLConnectDaemon以外では通常不要です -->
<og:schedule
	command		= "{@cmd}"
	scope		= "request"
	timerTask	= "org.opengion.plugin.daemon.{@timerTask}"
	name		= "{@uniqName}"
	comment		= "{@comment}"
	singleton	= "{@singleton}"
	delay		= "{@delay}"
	period		= "{@period}"
	fixedDelay	= "{@fixedDelay}"
	keys		= "SYSTEM_ID,DMN_GRP,{@sckeys},keys,vals"
	vals		= "{@SYSTEM_ID},{@DMN_GRP},{@scvals},{@keys},{@vals}"
	debug		= "{@debug}"
/>

<!-- DB検索結果を表示させます。 -->
<og:view
	viewFormType	= "HTMLTable"
	command			= "{@command}"
	scope			= "request"
	writable		= "false"
	checked			= "{@checked}"
	startNo			= "{@startNo}"
	pageSize		= "{@pageSize}"
/>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
