GithubHelp home page GithubHelp logo

xujun4610 / windows-taskschedule Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leleroyn/windows-taskschedule

1.0 1.0 0.0 1.41 MB

Windows下的任务调试框架, 支持Cron表达式,支持任务以插件形式添加,支持调用外部程序,支持部署为windows服务...

License: Apache License 2.0

C# 98.23% Batchfile 1.77%

windows-taskschedule's Introduction

Windows-TaskSchedule

Windows下的任务调试框架, 支持Cron表达式,支持任务以插件形式添加,支持部署为windows服务... 使用注意事项:

  1. 要发布成WindowsService,直接在命令行执行 Windows.TaskSchedule.exe install,卸载用Windows-TaskSchedule.exe uninstall,具体参考topshelf组件的用法。
  2. 添加新任务可能将任务插件(dll文件)直接放在根目录下,并配置好configs下的Jobs.config文件。
  3. 所有任务都需要实现Windows.TaskSchedule.JobFactory.Ijob接口

如何使用?
请看此项目的 Wiki

2015-8-28

  1. 新增任务类型,支持执行exe等可执行程序。

2017-1-1

  1. 新增沙盒模式

2018-1-8

  1. dll反射模式强制使用沙盒模式,增强宿主主程序的稳定性。
  2. dll反射模式必须在参数中指定工作目录:workDir,默认为Bin目录。
  3. dll反射模式默认会加载workDir中与dll同名的后缀为.config的配置文件。
  4. Windows.TaskSchedule.JobFactory.Ijob 接口只保留Excute方法。
  5. 此版本不再兼容2.0版本。

2018-5-12

  1. 增加服务安装脚本 O(∩_∩)O 当然了,配置详细的Windows服务名称,还是需要到Jobs.Config文件下进行配置
  2. 另外:这玩意就是小项目用一用,大项目建议使用专业点的Quartz

2018-9-15

  1. 修改DefaultLogger的问题,可以跨项目使用了!例如:您在Helloworld项目中继承了DefaultLogger,那么您的config配置xml文件,位于Helloworld.dll.config下。

2019-9-28

  1. 修改Cron表达式类。
  2. 修复指定时刻运行Job导致Cron表达式验证函数总返回False的问题。
  3. 增加测试DEMO和部分依赖。

2022-2-6

  1. Job配置增加enabled属性,是否启用。
  2. 【新增】基于Win32窗体技术开发的,通用的服务控制台小程序。

windows-taskschedule's People

Contributors

leleroyn avatar xujun4610 avatar ericktse avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.