uploadSMCHB.bat - Shortcut -------------- call setenv_xxx.bat CALL checkSMCFile CALL runImport CALL backSMCFile IF EXIST importCheck.OK GOTO :ok_import_chk CALL callPager.bat " SMC import error!" :ok_import_chk CALL gift_print CALL gift_ftp IF EXIST smcftpCheck.OK GOTO :ok_ftp_chk CALL callPager.bat " SMC FTP error!" :ok_ftp_chk pause
setenv_xxx.bat-------------------
SET TOMCAT_HOME=D:\tomcat
SET JAVA_HOME=D:\jdk1.3
DEL D:\tomcat\webapps\d\WEB-INF\classes\reports\*.pdf
DEL D:\tomcat\webapps\d\WEB-INF\classes\reports\*.txt
DEL D:\tomcat\webapps\d\WEB-INF\classes\reports\*.dat
REM HB
IF EXIST D:\FTP\H.TXT GOTO :ok_hkp_smc
REM CALL callPager.bat "No HKP SMCHB feed!"
REM CALL createDummy.bat D:\FTP\H.TXT
:ok_hkp_smc
IF EXIST D:\FTP\U.TXT GOTO :ok_uvp_smc
REM CALL callPager.bat "No UVP SMCHB feed!"
REM CALL createDummy.bat D:\FTP\U.TXT
:ok_uvp_smc
REM GIFT
IF EXIST D:\FTP\C.TXT GOTO :ok_gift_smc
REM CALL callPager.bat "No Campaign Gift feed!"
CALL createDummy.bat D:\FTP\C.TXT
:ok_gift_smc
createDummy.bat--------------------------
REM Please work together with d.properties!!
SET _CLASSPATH=.;%TOMCAT_HOME%\lib\common\mm.mysql.jdbc-1.2c.jar;%TOMCAT_HOME%\lib\common\iText.jar
SET _MAINCLASS=m.CreateDummy
%JAVA_HOME%\bin\java -cp %_CLASSPATH% %_MAINCLASS% %1
checkSMCFile------------
DEL D:\tomcat\webapps\d\WEB-INF\classes\reports\*.pdf
DEL D:\tomcat\webapps\d\WEB-INF\classes\reports\*.txt
DEL D:\tomcat\webapps\d\WEB-INF\classes\reports\*.dat
REM HB
IF EXIST D:\FTP\H.TXT GOTO :ok_hkp_smc
REM CALL callPager.bat "No HKP SMCHB feed!"
REM CALL createDummy.bat D:\FTP\H.TXT
:ok_hkp_smc
IF EXIST D:\FTP\U.TXT GOTO :ok_uvp_smc
REM CALL callPager.bat "No UVP SMCHB feed!"
REM CALL createDummy.bat D:\FTP\U.TXT
:ok_uvp_smc
REM GIFT
IF EXIST D:\FTP\C.TXT GOTO :ok_gift_smc
REM CALL callPager.bat "No Campaign Gift feed!"
CALL createDummy.bat D:\FTP\C.TXT
:ok_gift_smc
reimport-----------------------
DEL importCheck.OK
REM Please work together with dPath.properties!!
REM SET _CLASSPATH=.;%TOMCAT_HOME%\lib\common\mm.mysql.jdbc-1.2c.jar;%TOMCAT_HOME%\lib\common\iText.jar
SET _CLASSPATH=.;%TOMCAT_HOME%\lib\common\msbase.jar;%TOMCAT_HOME%\lib\common\msutil.jar;%TOMCAT_HOME%\lib\common\mssqlserver.jar;%TOMCAT_HOME%\lib\common\iText.jar;%TOMCAT_HOME%\lib\common\classes12.jar
SET _MAINCLASS=m.hk.d.feedimportmanager.SMCPEPEntitledFeedManager
%JAVA_HOME%\bin\java -cp %_CLASSPATH% %_MAINCLASS% > runImportPEP.log
SET _MAINCLASS=m.hk.d.feedimportmanager.ChequedFeedManager
%JAVA_HOME%\bin\java -cp %_CLASSPATH% %_MAINCLASS% > runImportCheque.log
:OK_IMPORT_LOG
ECHO. > importCheck.OK
backSMCFile------------
DEL D:\FTP\*.SMC
REM HB
IF NOT EXIST D:\FTP\H.TXT GOTO :no_hkp_smc
REN D:\FTP\H.TXT H.SMC
:no_hkp_smc
IF NOT EXIST D:\FTP\U.TXT GOTO :no_uvp_smc
REN D:\FTP\U.TXT U.SMC
:no_uvp_smc
gift_print------------------
REM Please work together with Path.properties!!
REM SET _CLASSPATH=.;%TOMCAT_HOME%\lib\common\mm.mysql.jdbc-1.2c.jar;%TOMCAT_HOME%\lib\common\iText.jar
SET _CLASSPATH=.;%TOMCAT_HOME%\lib\common\msbase.jar;%TOMCAT_HOME%\lib\common\msutil.jar;%TOMCAT_HOME%\lib\common\mssqlserver.jar;%TOMCAT_HOME%\lib\common\iText.jar;%TOMCAT_HOME%\lib\common\classes12.jar
SET _MAINCLASS=m.hk..printmanager.PrintGiftCollectionNoticeManager
%JAVA_HOME%\bin\java -cp %_CLASSPATH% %_MAINCLASS% > gift_print.log
find /c "Missing agent email" gift_print.log
if errorlevel 1 goto :OK_PRINT_LOG
CALL callPager.bat "D SMC no agent email error!"
:OK_PRINT_LOG
gift_ftp------------------
DEL smcftpCheck.OK
DEL gift_ftp.log.bak
REn gift_ftp.log gift_ftp.log.bak
winscp.com /script=reports\gift_ftp.dat /log=gift_ftp.log
IF ERRORLEVEL 1 GOTO :ERR_FTP_LOG
ECHO. > smcftpCheck.OK
:ERR_FTP_LOG
相关推荐
很抱歉,但根据提供的信息,"jdevice_id_map.bat.pdf" 的标题和描述并没有直接指出任何具体的IT知识点。标签为空,而部分内容展示的是一系列的文件名,包括截图和一个名为 "jdevice_id_map.bat" 的批处理文件,但...
flash_all.bat
loadrunner打不开ie,找不到register_vugen.bat文件 ,register_vugen.bat 下载,把register_vugen.bat放到安装的Bin目录下
disable_ipv6.bat enable_ipv6.bat RestoreMicrosoftIPv6ProtocolDriverWindows10.bat V6设置.bat 两个微软官方修复工具: 在非隧道接口和 IPv6 隧道接口上重新启用 IPv6.diagcab 在前缀策略中优先使用 IPv6 ...
2. 拖动这个iso文件,扔在“Quick_11_iso_esd_wim_TPM_toggle.bat”这个文件上面,放手,自动会启动这个bat脚本 3. 稍等一会,脚本提示“:D TPM patch added”,代表iso修改成功,里面的win11安装程序已被修改,直接...
本文将详细介绍如何使用批处理文件`register_vugen.bat`对LoadRunner进行注册,以及这一过程中的关键知识点。 1. LoadRunner注册的重要性: 在安装LoadRunner后,为了确保所有组件能够正常工作,需要进行有效的注册...
IIS_iis_switch.bat
flash_all_lock.bat
.jdevice_id_map.bat
218781302755297S-078838_uninstall_vba.bat
install_tools.bat
flash_all_except_data_storage.bat
Installshield iis7x_setup.bat win7自动安装IIS
IIS 7.0 包括了一整套的管理工具,包括新的管理员和命令行工具,新的托管代码和脚本API和Windows PowerShell支持简化开发人员和管理员的日常... 这里提供的就是一个安装脚本,解压后运行iis7x_setup.bat,就开了iis了。
find_java.bat 无法正常运行,可能是两个原因造成的:1、路径中包含括弧等特殊字符;2、Windows API 函数 GetShortPathName 未能正常工作
为文件夹添加标记 使用方法参照https://blog.csdn.net/Gershon1992/article/details/124930828