Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
Bentley 中国优先社区
  • Welcome to Bentley Communities
  • Bentley's Communities
  • Bentley 中国优先社区
  • More
  • Cancel
Bentley 中国优先社区
技术资料库 通过FetchFile功能来预缓存项目到缓存服务器
    • Sign in
    Bentley 中国优先社区 requires membership for participation - click to join
    • -Bentley 中文技术资料库
      • +AutoPipe
      • +Bentley Navigator
      • +Bentley Substation
      • +Bentley 道路与场地设计
      • +BRCM
      • +BridgeMasterModeler/OpenBridgeModeler
      • +Building Design
      • +i-model / DgnDb
      • +LumenRT/ContextCapture
      • +MicroStation
      • +MOSES
      • +OpenBridge
      • +OpenBuildings Designer
      • +OpenFlows
      • +OpenPlant
      • +OpenPlant Electrical CCK
      • Plaxis 地质分析
      • -ProjectWise
        • 01 - ProjectWise简介
        • +02 - 服务器安装配置
        • +03 - ProjectWise远程办公指南
        • -ProjectWise Caching Server_缓存服务器
          • 通过FetchFile功能来预缓存项目到缓存服务器
          • 配置ProjectWise Caching Server介绍
        • +ProjectWise Distribution Services_分发服务
        • ProjectWise Essentials
        • ProjectWise Gateway Service_网关服务
        • ProjectWise InterPlot Server_打印服务器
        • ProjectWise Publishing Server_文档发布服务器
        • +ProjectWise Transmittal Services_传送服务
        • +ProjectWise Web服务
        • +ProjectWise Workflow Rules Engine
        • +ProjectWise 中国工具包
        • +ProjectWise 客户端
        • +ProjectWise 常见问题
        • +ProjectWise 新版本特性
        • +ProjectWise 用户同步服务
        • +ProjectWise 课程视频
        • +ProjectWise 集成服务器
        • +ProjectWise_CE_WorkSpace配置
        • ProjectWise成功案例
        • +ProjectWise打印
        • +ProjectWise本地化工作流程引擎插件
        • +Projectwise移动端应用
        • +ProjectWise管理员端
        • +ProjectWise软件编程
        • +Transmittal Services
        • 升级到ProjectWise CE
      • +ProStructures
      • +SACS
      • +STAAD.Pro
      • +SYNCHRO Pro
      • 中国优先产品汇总
      • +其 它
      • +桥梁大师<BridgeMaster>
      • +现浇箱梁
      • +软件激活及授权
    • +iTwin 数字孪生平台
    • Bentley二次开发资料库
    • +常用产品离线安装包分享 [截止到2021年9月]
    • +常见问题汇总
    • Bentley-Learn 官方教学平台-使用方法
    • +中国优先社区使用指南

     
     Questions about this article, topic, or product? Click here. 

    通过FetchFile功能来预缓存项目到缓存服务器

    如果要实现自动从PW集成服务器缓存文件到cache server,可以设置windows的计划任务代码执行一个bat脚本,设置某个时间段执行这个脚本。脚本如下:

         Cd \

         Cd C:\Program Files\Bentley\ProjectWise\Bin

         Fetchfiles -d WIN2K8SQL2K8: pw -u pwadmin -p abcd@1234! -w c:\test -r -n test >c:\log.txt

    注:-d: 数据源名称(名称前要加机器名)

             -u: pw用户名,该用户要有FetchFile的权限

             -p: 该用户的密码

             -w: 工作目录(必须是存在的文件夹)

           -r:递归

             -n:准备缓存的文件夹名称

           C:\log.txt自定义日志文件存放的路径

    • Share
    • History
    • More
    • Cancel
    • Hongsheng Ma Created by Bentley Colleague Hongsheng Ma
    • When: Sun, Dec 18 2016 9:19 PM
    • Revisions: 1
    • Comments: 0
    Anonymous
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies