WSO2如何将VFS设置为计划任务 [英] WSO2 How to set VFS to a scheduled task

查看:88
本文介绍了WSO2如何将VFS设置为计划任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在wso2中,VFS默认运行5分钟.我认为这对性能不利.我希望服务器不忙时运行VFS.例如,也许在02:00没有正文请求,则VFS可以工作.我尝试添加计划任务,但是没有用.有人可以告诉我该怎么做吗?非常感谢.

In wso2, VFS running default 5 minutes. I think this is bad for performance. I want VFS running when server is not busy. For example, maybe at 02:00 no body request, then VFS can work. I tried add scheduled task, but it no use. Anyone can tell me how to do this? Thank you very much.

推荐答案

我认为您的问题与 https://stackoverflow.com/questions/10537190/how-to-vfs-service-exposed-as-a-web-service 问题.似乎您想在一天的特定时间(计划为非高峰时间)或通过Web服务进行VFS轮询.但是不幸的是,由于VFS传输的实现方式,我认为不可能将CRON表达式或服务调用插入VFS.无论如何,您可以在

I think your question is related to WSO2 How to set scheduled task? and https://stackoverflow.com/questions/10537190/how-to-vfs-service-exposed-as-a-web-service questions. Seems you want to do the VFS polling on a particular time of the day (scheduled to a non-peak time) or via a web service. But unfortunately I don't think it's possible to plug a CRON expression or a service call to VFS, because of how VFS transport has been implemented. Anyway you can suggest this as a feature request at WSO2 JIRA

这篇关于WSO2如何将VFS设置为计划任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆