自动执行的Windows服务 [英] Windows services that automatically execute

查看:80
本文介绍了自动执行的Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建Windows服务,如果指定的文件夹有内容,则自动执行



i需要在每个时间间隔使用Windows服务检查文件夹,如果文件夹中有文件。它自动执行一个exe。



请有人帮我这样做



提前谢谢

create windows services that automatically execute if the specified folder having content

i need to check a folder using windows services in every time intervals ,if the folder having file .it automatically executes an exe.

Please anyone help me to do this

Thank you in advance

推荐答案

你真的提供了很多要求 - 根据你所说的,我会



- 编写一个以TopShelf开头的服务,

- 添加Quartz.Net

- 使用Quartz.Net的目录观察器工作



有用链接



Topshelf [ ^ ]



J:Quartz.Net 2.0中的新功能– Direc保守扫描工作 [ ^ ]
You havnt really supplied a great list of requirements - based on what you have stated, I would

- write a service starting with TopShelf,
- Add Quartz.Net
- Use a Directory Watcher job from Quartz.Net

Useful Links

Topshelf[^]

J: New in Quartz.Net 2.0–Directory Scan Job[^]


这篇关于自动执行的Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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