RVTools: Automate report

简介:

1, Using RVToolsPasswordEncryption.exe to encrypted password


wKiom1kw2mmCrsCKAAAbTV3KkW8060.png


2. Set the Short date format


wKioL1k3woWg0eHRAAA3LsWAmV0956.png


3. BAT file to run RVtools(RVtools.bat), revise the account and password accordingly(highlight with red color)


rem #########################
rem Name RVToolsBatch
rem By Hunter
rem Date Apr 2017
rem Version 3.9.5
rem #########################
rem =====================================
rem Include robware/rvtools in searchpath
rem =====================================
set path=%path%;c:\program files\robware\rvtools 3.9.5
rem =========================
rem Set environment variables
rem =========================
set $datetime=%date:~6,4%%DATE:~3,2%%DATE:~0,2%
set $VCServer=VC name or IP
set $AttachmentDir=C:\temp
set $AttachmentFile=RVTOOLS_%$datetime%_%$VCServer%.xls
rem ===================
rem Start RVTools batch
rem ===================
RVTools.exe -u ABC_DM\hunter -p _RVToolsPWDSAimNtfac7sBlN8HczNdjvHyqknIETj5oy7/gE3uISc= -s %$VCServer% -c ExportAll2xls -d %$AttachmentDir% -f %$AttachmentFile%
timeout /T 30


3.Create a window schedule task to run the bat file


1)  create a task

wKioL1kxDtWRc2M_AAAfYPWxhq0403.png


2) Add the BAT script to window task, and set the triggers condition.

wKiom1kxD1ewAAnZAAAcP8tqD6c515.png


More reference

http://cloudmaniac.net/rvtools-automate/

http://robware.net/download/RVTools.pdf

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1931597如需转载请自行联系原作者


520feng2007

相关文章
|
SQL 缓存 Java
ASH Report 解析
ASH Report 解析
299 0
|
8月前
|
缓存 IDE Linux
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
167 0
|
Java 测试技术
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
362 0
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
|
关系型数据库 Shell 网络安全
|
Oracle 关系型数据库
|
SQL XML 数据格式

热门文章

最新文章