FORCS Co., LTD 1
OZ Scheduler User's Guide 2 FORCS Co., LTD
.,. Manual Getting Started Getting Started Description....... FORCS Co., LTD 3
OZ Scheduler User's Guide API,,. API, UDS, USL, API API... 4 FORCS Co., LTD
FORCS Co., LTD 5
OZ Scheduler User's Guide. (, )... ( )... API. "API. API"... (, ), (, ),,,. 6 FORCS Co., LTD
. HTML..,. (To:, Cc:, Bcc: ) SMTP.. - Command Line - GUI - API - 3rd party API. FORCS Co., LTD 7
OZ Scheduler User's Guide 8 FORCS Co., LTD
OS Windows NT 4.0, Windows 2000, Windows XP, Windows 2003 Sun JRE 1.3. bin commander.bat commander.sh ozencrypted.bat OZServerInstallService.bat OZServerUninstallService.bat OZServiceSV.exe scheduler.bat scheduler.sh sccheduler.ico scheduler_stop.bat scheduler_stop.sh user.cif Shell Commander ID NT NT Service ico NONE FORCS Co., LTD 9
OZ Scheduler User's Guide conf expand ozscheduler.properties scheduler_server.properties scheduler_server_log.properties TaskHoliday.xml SchedulerCOM.dll OZSchedulerCOM.asp COM ( API ASP ) COM ASP external lib activation.jar log4j.jar mail.jar ozsfw51.jar jcert.jar jnet.jar jsse.jar crimson.jar parser.jar xerces.jar (, ) J2EE (HTTPS/SSL ) JRE 1.3.X xml OZUSLClientSession.jar USL OZUSLServerDES128.jar NTEventLogAppender.dll Windows NT DLL OZServiceBootstrap.jar NT icu4j_2_8.jar, license ozlicense.xml logs OZSchedulerMainLog.log repository ScheduledTask TempRepository ozd, excel, pdf, html viewer ozcreport.dll ozcviewer.exe exe 10 FORCS Co., LTD
OZForVista.dll ozxlswriter.dll ozjpdf417.dll ozpdfwriter.dll ozppt.dll unicows.dll OZUSLClientDes128.dll OZUSLClientSession.dll charters.xml ozlang.dll viewer_error_m res sg.xml viewer_server_e rror_msg.xml Windows Vista 2 PDF PPT Microsoft Layer of Unicode USL )charters_ko_kr.xml )ozland_ko_kr.dll )viewer_error_msg_ko_kr.xml )viewer_server_error_msg_ko_kr.x ml FORCS Co., LTD 11
OZ Scheduler User's Guide scheduler.bat / scheduler.sh scheduler.bat/scheduler.sh, (OZSCHEDULER_HOME), JRE (JAVA_HOME). - scheduler.bat @echo off ------------------ rem rem OZ Sscheduler Start-up File rem rem This batch file written and tested under Windows 2000 rem check your path indicate <JAVA_HOME>\bin rem ------------------ rem OZ Scheduler Home set OZSCHEDULER_HOME=..\ rem JDK Path set JAVA_HOME=..\..\jre if not "%OZSCHEDULER_HOME%" == "" goto start echo Unable to determine the value of OZSCHEDULER_HOME. goto eof :start set OZSchLib=%OZSCHEDULER_HOME%\lib\ozsfw51.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\conf 12 FORCS Co., LTD
rem Library for HTTPS/SSL set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jcert.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jnet.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jsse.jar rem Library for Logging set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\log4j.jar rem Library for XML Parsing set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\crimson.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\parser.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\xerces.jar rem Library for Mailing set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\mail.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\activation.jar rem USL Jar for USL set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZUSLClientSession.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZUSLServerDES128.jar rem NT Service Class set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZServiceBootstrap.jar rem Library for Holiday Check set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\icu4j_2_8.jar FORCS Co., LTD 13
OZ Scheduler User's Guide echo Loading OZScheduler... %JAVA_HOME%\bin\java -cp %OZSchLib% oz.scheduler.main.ozscheduler %1 %2 :eof - scheduler.sh #!/bin/bash ------------------ # # OZ Sscheduler Start-up File # # This batch file written and tested under Windows 2000 # check your path indicate <JAVA_HOME>/bin # ------------------ # OZ Scheduler Home OZSCHEDULER_HOME=../ # JDK Path JAVA_HOME=/usr/local/jdk1.3.1_02 if [ "$OZSCHEDULER_HOME"!= "" ]; then OZSchLib=$OZSCHEDULER_HOME/conf OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/ozsfw51.jar # Library for HTTPS/SSL OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/jcert.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/jnet.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/jsse.jar 14 FORCS Co., LTD
# Library for Logging OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/log4j.jar # Library for XML Parsing OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/crimson.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/parser.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/xerces.jar # Library for Mailing OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/mail.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/activation.jar # USL Jar for USL OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/OZUSLClientSession.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/OZUSLServerDES128.jar # Library for Holiday Check OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/icu4j_2_8.jar echo Loading OZScheduler... $JAVA_HOME/bin/java -cp $OZSchLib oz.scheduler.main.ozscheduler $1 $2 else echo Unable to determine the value of OZSCHEDULER_HOME. fi commander.bat/commander.sh commander.bat/commander.sh commander FORCS Co., LTD 15
OZ Scheduler User's Guide. " Shell Command". - commander.bat @echo off ------------------ rem rem OZ Scheduler Commander Start-up File rem rem This batch file written and tested under Windows 2000 rem check your path indicate <JAVA_HOME>\bin rem ------------------ rem OZ Scheduler Home set OZSCHEDULER_HOME=..\ rem JDK Path set JAVA_HOME=..\..\jre if not "%OZSCHEDULER_HOME%" == "" goto start echo Unable to determine the value of OZSCHEDULER_HOME. goto eof :start set OZSchLib=%OZSCHEDULER_HOME%\conf set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\ozsfw51.jar rem Library for HTTPS/SSL set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jcert.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jnet.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jsse.jar rem Library for Logging 16 FORCS Co., LTD
set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\log4j.jar rem Library for XML Parsing set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\crimson.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\parser.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\xerces.jar rem Library for Mailing set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\mail.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\activation.jar rem USL Jar for USL set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZUSLClientSession.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZUSLServerDES128.jar rem Library for Holiday Check set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\icu4j_2_8.jar %JAVA_HOME%\bin\java -classpath %OZSchLib% oz.admin.shell.scheduler.command %1 %2 %3 %4 %5 %6 %7 %8 %9 - commander.sh #!/bin/bash ------------------ # # OZ Scheduler Commander Start-up File # # This batch file written and tested under Windows 2000 # check your path indicate <JAVA_HOME>/bin # ------------------ FORCS Co., LTD 17
OZ Scheduler User's Guide # OZ Scheduler Home OZSCHEDULER_HOME=../ # JDK Path JAVA_HOME=/usr/local/jdk1.3.1_02 if [ "$OZSCHEDULER_HOME"!= "" ]; then OZSchLib=$OZSCHEDULER_HOME/conf OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/ozsfw51.jar # Library for HTTPS/SSL OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/jcert.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/jnet.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/jsse.jar # Library for Logging OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/log4j.jar # Library for XML Parsing OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/crimson.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/parser.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/xerces.jar # Library for Mailing OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/mail.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/activation.jar # USL Jar for USL 18 FORCS Co., LTD
OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/OZUSLClientSession.jar OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/OZUSLServerDES128.jar # Library for Holiday Check OZSchLib=$OZSchLib:$OZSCHEDULER_HOME/lib/icu4j_2_8.jar $JAVAHOME/bin/java -cp $OZSCLib oz.admin.shell.scheduler.command $1 $2 $3 $4 $5 $6 $7 $8 $9 else echo Unable to determine the value of OZSCHEDULER_HOME. fi ozscheduler.properties. path.oz.scheduler.home=.. SchedulerPort=9521 path.scheduler.file=%sch_home%/conf/scheduler_server.properties path.scheduler.license=%sch_home%/license/ozlicense.xml path.scheduler_log.file=%sch_home%/conf/scheduler_server_log.proper ties path.taskholiday.file=%sch_home%/conf/taskholiday.xml path.oz.scheduler.home SchedulerPort path.scheduler.file path.scheduler.license path.scheduler_log.file path.taskholiday.file ( : 9521) FORCS Co., LTD 19
OZ Scheduler User's Guide scheduler_server.properties,,,. ### ### ozschedluer_server.properties Infomation ### Last Modified : TUE sep 09 10:04:03 KST 2008 ### ErrorNotifyToSender=false ExternalProgramFilePath=%SCH_HOME%/External MailFrom= RepositoryFileRootPath=%SCH_HOME%/Repository/ EnableSSL=false PrefixSubjectMessage= SMTPServer=mail.forcs.com SMTPServerPort=25 SMTPUserID= SMTPUserPassword= #SMTPUserID_encrypted= #SMTPUserPassword_encrypted= SchedulingInfoFilePath=%SCH_HOME%/ScheduledTask TempRepositoryFilePath=%SCH_HOME%/TempRepository #ViewType=NONE - ozd export only for Unix System ViewType=ActiveX ViewConcurrentCount=n #ViewerTimeout= #MailSendRetryCount=1 #MailSendRetryPeriodTime=30 TaskHoliday=false ### End. ErrorNotifyToSender ExternalProgramFilePath MailFrom ( : false) Export 20 FORCS Co., LTD
RepositoryFileRootPath EnableSSL PrefixSubjectMessage SMTPServer SMTPServerPort SMTPUserID SMTPUserPassword SMTPUserID_encrypted SMTPUserPassword_encr ypted SchedulingInfoFilePath TempRepositoryFilePath ViewType SSL ( : false) : jre1.4.2_12. SMTP SMTP SMTP ID : SMTP. SMTP ID : SMTP. SMTP ID : SMTP ID ID ID. SMTP ID : SMTP. (*.ozs) ( : SchedulerHome/ScheduledTask) :. ActiveX ActiveX ( ) NONE : "NONE" OZD. FORCS Co., LTD 21
OZ Scheduler User's Guide ViewConcurrentCount ViewerTimeout MailSendRetryCount MailSendRetryPeriodTime TaskHoliday ( : n). n 32,767. 5 8 5 3. : ViewType "ActiveX" "NONE"... ( : ). 0 0,. :. ( : 0) 0 ~ 32767. :,. ( : 30). ( : false) scheduler_server_log.properties. #------------------------------------------- # configuraion of OZ logging system #------------------------------------------- # # Set Prioritylog level 22 FORCS Co., LTD
# # DEBUG, INFO, ERROR Priority=DEBUG # Viewer Parameter Information file (.param) # value is false : leave.param files %OZScheduler_HOME%/TempRepository REMOVE_PARAM_FILE=false # appender CONSOLE # # CONSOLE.Type=Stdout CONSOLE.Layout=%r [%t] %p %c{1} %x - %m%n CONSOLE.Async=true # # appender ROLLING_FILE # ROLLING_FILE.Type=RollingFile ROLLING_FILE.Layout=%d{ISO8601} [%t] %-5p %c{1} %x - %m%n ROLLING_FILE.File=%SCH_HOME%/logs/OZSchedulerMainLog.log ROLLING_FILE.Append=true ROLLING_FILE.MaxBackupIndex=5 ROLLING_FILE.MaxFileSize=1MB ROLLING_FILE.ImmediateFlush=true # # appender NT Event # #NT_EVENT.Type=NTEvent #NT_EVENT.Layout=%r %p %c{1} - %m%n #NT_EVENT.Threshold=ERROR # # appender syslog # #SYSLOG.Type=Syslog #SYSLOG.Layout=[OZ] %r %p %c{1} - %m #SYSLOG.Threshold=ERROR #SYSLOG.SyslogHost=127.0.0.1 #SYSLOG.Facility=USER #SYSLOG.FacilityPrinting=false # # appender Scheduler Task result log # ResultLog.MaxBackupIndex=3 FORCS Co., LTD 23
OZ Scheduler User's Guide ResultLog.MaxFileSize=500KB MONITOR.Active=false MONITOR.File=%SCH_HOME%/logs/monitor.log MONITOR.Append=true MONITOR.MaxBackupIndex=5 MONITOR.MaxFileSize=1MB MONITOR.ImmediateFlush=true MONITOR.point=REQ,EXE,END,. Remove_Param_File ResultLog.MaxBackupIndex ResultLog.MaxFileSize.param. ( : true) / true.param..param false..param. Backup... TaskHoliday.xml. <?xml version="1.0" encoding="utf-8"?> <TASK-HOLIDAY-ROOT> <TASK-HOLIDAY name="" baseday="yyyy-01-01" type="solar" start="0" end="0" /> <TASK-HOLIDAY name="" baseday="yyyy-01-01" type="lunar" start="1" end="1" /> <TASK-HOLIDAY name="31 " baseday="yyyy-03-01" type="solar" start="0" end="0" /> 24 FORCS Co., LTD
<TASK-HOLIDAY name="" baseday="yyyy-05-01" type="solar" start="0" end="0" /> <TASK-HOLIDAY name="" baseday="yyyy-05-05" type="solar" start="0" end="0" /> <TASK-HOLIDAY name="" baseday="yyyy-04-08" type="lunar" start="0" end="0" /> <TASK-HOLIDAY name="" baseday="yyyy-06-06" type="solar" start="0" end="0" /> <TASK-HOLIDAY name="" baseday="yyyy-08-15" type="solar" start="0" end="0" /> <TASK-HOLIDAY name="" baseday="yyyy-08-15" type="lunar" start="1" end="1" /> <TASK-HOLIDAY name="" baseday="yyyy-10-03" type="solar" start="0" end="0" /> <TASK-HOLIDAY name="" baseday="yyyy-12-25" type="solar" start="0" end="0" /> <TASK-HOLIDAYGROUP name="group1"> <ITEM ref="" /> <ITEM ref="" /> <ITEM ref="31 " /> <ITEM ref="" /> <ITEM ref="" /> <ITEM ref="" /> <ITEM ref="" /> <ITEM ref="" /> <ITEM ref="" /> <ITEM ref="" /> <ITEM ref="" /> </TASK-HOLIDAYGROUP> <TASK-HOLIDAYGROUP name="group2"> <ITEM ref="" /> <ITEM ref="" /> </TASK-HOLIDAYGROUP> </TASK-HOLIDAY-ROOT> TASK-HOLIDAY name ";". : TASK-HOLIDAYGROUP name. FORCS Co., LTD 25
OZ Scheduler User's Guide baseday : yyyy-mm-dd : yyyy-mm-01 : 1 yyyy-01-01 : 1 1 2007-01-01 : 2007 1 1 type solar lunar "baseday" ( : 0) start "baseday" 2007-08-15 "start" "1" 2007 08 14. "baseday" ( : 0) end "baseday" 2007-08-15 "end" "1" 2007 08 16. TASK-HOLIDAYGROUP ";". name : TASK-HOLIDAY name. Task-HOLIDAYGROUP TASK-HOLIDAYGROUP _ITEM ref :. 26 FORCS Co., LTD
. ozlicense.xml License., IP,. IP. bin scheduler.bat, scheduler_stop.bat. UNIX bin scheduler.sh, scheduler_stop.sh.. : 64. FORCS Co., LTD 27
OZ Scheduler User's Guide - JAVA Classpath. NT { }\bin\ozschedulerinstallservice.bat { }\bin\ozscheduleruninstallservice.bat. OZSchedulerInstallService.bat @echo off --------------- rem OZScheduler Service Install Register Batch File --------------- --------------- rem JRE Path rem rem rem ex) set JRE_PATH=C:\Program Files\Forcs\OZ Xstudio 5.1\jre\bin\hotspot\jvm.dll --------------- set JRE_PATH= --------------- rem OZ Scheduler Home rem rem ex) set OZSCHEDULER_HOME_BIN=C:\Program Files\Forcs\OZ Xstudio 5.1\OZ Scheduler 5.1\bin --------------- set OZSCHEDULER_HOME=..\ set OZSCHEDULER_HOME_BIN= set MAX_MEMORY=256 set MIN_MEMORY=128 rem JAVA option delemter is ; set JAVA_OPTION= if not "%OZSCHEDULER_HOME%" == "" goto start 28 FORCS Co., LTD
echo Unable to determine the value of OZSCHEDULER_HOME. goto eof if not "%OZSCHEDULER_HOME_BIN%" == "" goto start echo Unable to determine the absolute path value of OZSCHEDULER_HOME_BIN. goto eof if not "%JRE_PATH%" == "" goto start echo Unable to determine the absolute path value of JRE_PATH goto eof :start set OZSchLib=%OZSCHEDULER_HOME%\lib\ozsfw51.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\conf --------------- rem OZ Service BootStrap --------------- set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZServiceBootstrap.j ar --------------- rem Library for HTTPS/SSL --------------- set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jnet.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\jsse.jar --------------- rem Library for Logging --------------- set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\log4j.jar --------------- rem Library for XML Parsing --------------- set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\crimson.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\parser.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\xerces.jar --------------- FORCS Co., LTD 29
OZ Scheduler User's Guide rem Library for Mailing --------------- set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\mail.jar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\activation.jar --------------- rem USL Jar for USL --------------- set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZUSLClientSession.j ar set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\OZUSLServerDES128.ja r rem Library for Holiday Check set OZSchLib=%OZSchLib%;%OZSCHEDULER_HOME%\lib\icu4j_2_8.jar OZServiceSC.exe //IS//OZScheduler --DisplayName="OZScheduler" - -Description="OZScheduler" --StartPath="%OZSCHEDULER_HOME_BIN%" --StopPath="%OZSCHEDULER_HOME_BIN%" --Classpath="%OZSchLib%" -- Jvm="%JRE_PATH%" --JvmOptions="-Xmixed" -- JavaOptions="%JAVA_OPTION%" --JvmMs="%MIN_MEMORY%" -- JvmMx="%MAX_MEMORY%" --StartMode=jvm --StopMode=jvm -- StartClass=oz.server.OZServiceBootstrap -- StartParams=OZSchedulerStart -- StopClass=oz.server.OZServiceBootstrap -- StopParams=OZSchedulerStop --LogPath="%OZSCHEDULER_HOME_BIN%" - -LogLevel=DEBUG :eof --Description ( 1024.) --DisplayName ( : OZScheduler) :. 30 FORCS Co., LTD
--Startup Manual. ( ) Auto. --Jvm "jvm.dll" :. ) --Jvm="C:\j2sdk1.4.2_12\jre\bin\ client\jvm.dll" --JvmOptions Jvm ( : -Xrs) --Classpath --JvmMs Initial Memory ( : MB) --JvmMx ( : MB) --JvmSs ( : KB) --StartPath :. ) --StartPath="C:/OZScheduler 4.0/bin" -StartClass oz.server.ozservice Bootstrap -StartParams OZScheduler Start ) StartParams =OZSchedulerStart --StartMode jvm Jvm --StopPath :. ) --StopPath="C:/OZScheduler 4.0/ bin" -StopClass oz.server.ozser vicebootstrap -StopParams FORCS Co., LTD 31
OZ Scheduler User's Guide OZScheduler Stop ) -- StopParams= OZSchedulerStop --LogPath --LogPrefix :. ) --LogPath="C:/OZScheduler 4.0 /bin" ( : OZService) ) "OZ" "OZ_yyyyMMdd.log". log level, ERROR log "ERROR" level log --LogLevel WARN log. "ERROR" level log INFO log ( ) "ERROR", "INFO" level DEBUG log log --StdOutput --StdError )--StdOutput="stdout.log" )--StdOutput="stderr.log" OZSchedulerUninstallService.bat OZServiceSC.exe //DS//OZScheduler - { }\conf\ozscheduler.properties path.oz.scheduler.home 32 FORCS Co., LTD
. { }\bin\ozschedulerinstallservice.bat. ' '. OZScheduler ( ). OZSchedule 'OZScheduler ' ' ' " ". FORCS Co., LTD 33
OZ Scheduler User's Guide OZScheduler ( ). { }\bin\ozscheduleruninstallservice.bat. : scheduler.bat, scheduler_stop.bat. scheduler.bat scheduler_stop.bat OZServiceSC.exe. 34 FORCS Co., LTD
FORCS Co., LTD 35
OZ Scheduler User's Guide Windows Command Line. GUI Windows commander.bat commander [required-option] [selective-options].. -editconfig -external -load... -remove -list., Pause, Resume. -result -stop.. 36 FORCS Co., LTD
-published -restart -version Published file... -log.. -IP:<IP> IP ( : 127.0.0.1) -Port:<Port> Port ( : 9521) -SIP:<IP> IP (: 127.0.0.1) -SPort:<Port> Port (: 8003) -SURL:<URL> URL -SID:<ID> ID -SPWD:<PWD> -file:<filename>.... Port:9521 sip:127.0.0.1 SPort:8003 SID:admin SPWD:admin /q Shell Commander. command. FORCS Co., LTD 37
OZ Scheduler User's Guide Commands Command -editconfig.. -load ozs.. -remove ID. -list. Launch Type (W), (R), (P). (W) : Waiting (R) : Running (P) : Scheduling Pausing.... Action. Action [D] : Download [E] : Eliminate [P] : Pause [R] : Resume Text. -load... Pause. Pause. Pause Resume (=Waiting ). Resume. 38 FORCS Co., LTD
[L] : reload. -result (First Date, End Date, Task ID). -stop. :. -published Published File. 'RepositoryFileRootPath'. [M] : Mkdir [R] : Rmdir [C] : Chdir [G] : Get.., Published File....,. Action. Action [D] : Delete [L] : reload... -external. 'ExternalProgramFilePath'. FORCS Co., LTD 39
OZ Scheduler User's Guide [M] : Mkdir [R] : Rmdir [C] : Chdir [G] : Get [P] : Put [D] : Delete [L] : reload.., Published File....,..... -version. -log. Thread Dump threaddump Thread Dump. Jre 1.5. Load Commander. 1:1. '_check' 'check'. ('true'.), 'mail_text_message=' 40 FORCS Co., LTD
"\n". "\n" "\\n". ( '\'.) ##** Note that if you want to check a '..._check' field, you should write in 'check' as a value (excluding quotation mark). ## Basic Information report_name=parameter_test.ozr category_name=/ ## ID & Password of target OZ Server server_id=admin server_pwd=admin ## Information for Sending an Email ## If you want to specify two or more person recipients, you should give comma separated sequence of addresses to recipient fields. ## If you want to insert a line separator in mail message, you should write '\\n'. mail_check=check mail_recipient_to=user1@forcs.com, user2@forcs.com mail_recipient_cc=user3@forcs.com mail_recipient_bcc=user4@forcs.com mail_subject= mail_text_message= ## Parameters parameter_count=4 parameter_name_1=[form].formparam parameter_value_1=form1 parameter_name_2=[form].odiparam parameter_value_2=form2 parameter_name_3=parameter_test.odiparam parameter_value_3=odi1 parameter_name_4=parameter_test.odiparam2 parameter_value_4=odi2 ## External Program external_program_check=check external_program_command=notepad.bat ## Schedule Time ## launch_type = immediately / once / periodically FORCS Co., LTD 41
OZ Scheduler User's Guide launch_type=periodically ## Once Execution #execution_year= #execution_month= #execution_day= #execution_hour= #execution_min= ## Periodicaly Execution #### Periodically Execution - Start Date Configuration start_year=2005 start_month=1 start_day=3 #### Periodically Execution - Days Configuration ## periodically_execution_day_type = daily / weekly / monthly periodically_execution_day_type=daily #### Periodically Execution - Days Configuration - Daily ## daily_type = specific_day[daily_every_days] / weekday daily_type=specific_day daily_every_days=1 ## Periodically Execution - Time Configuration periodically_execution_time_type=user_defined ## Periodically Execution - Time Configuration - User_Defined ## user_defined_time = ex) 01:10, 04:50, 17:25... (in ascending powers) user_defined_time=11:40 ## Data Module Server Store dm_server_check=check dm_server_name=parameter_test.sdm odi_name_list=parameter_test.odi odi_name_list_category=/ odi_name=parameter_test.odi odi_category_name=/ odi_parameter_count=2 odi_parameter_name_1=odiparam odi_parameter_value_1=sdm odi 1 odi_parameter_name_2=odiparam2 odi_parameter_value_2=sdm odi 2 42 FORCS Co., LTD
file_export_list=pdf/ozd/html/jpg/xls/doc/svg/txt/ppt/tif/csv ## Excel Local Store exparg.excel.filename=test.xls ## PDF File Store exparg.pdf.filename=test.pdf exparg.ozd.filename=test.ozd exparg.html.filename=test.html exparg.jpg.filename=test.jpg exparg.word.filename=test.doc exparg.svg.filename=test.svg exparg.text.filename=test.txt exparg.ppt.filename=test.ppt exparg.tiff.filename=test.tif exparg.csv.filename=test.csv FORCS Co., LTD 43