Git Product home page Git Product logo

task-scheduler-sample's Introduction

Task Scheduler Sample

This is a Visual Studio 2015 project that provides a sample implementation of scheduling a task on windows using the TaskScheduler 2.0 interface.

There are 3 projects included in this solution:

TaskScheduler

This is a DLL Project that provides a simple interface for scheduling an executable task for daily execution. It is structured such that it would be relatively easy to extend the library to allow the API user more control over the task.

TaskSchedulerExe

This is a command-line executable project that makes use of the TaskScheduler.dll. It provides commands for scheduling and deleting tasks, as well as integration testing the task scheduler. Executable usage is as follows:

Usage: TaskScheduler.exe <command> [options]
Commands:
        schedule <name> - Schedule a new executable task to be run daily
                /ST <date> - The start date in the format of: YYYY/MM/DD
                /ET <date> - The optional end date in the format of: YYYY/MM/DD
                /T <time> - The time to run each day in the format of: HH:MM:SS (24-hour clock)
                /EXE <path> - The path to the executable

        delete <name> - Delete a scheduled task, where <name> is the name of the task

        test - Test scheduling a task and verifying execution

TaskSchedulerTests

This is a UnitTesting project that tests some of the exported APIs from the TaskScheduler.dll project.

task-scheduler-sample's People

Contributors

ehlertjd avatar

Watchers

 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.