Code Monkey home page Code Monkey logo

process-runner's Introduction

Process-Runner

This project is a process spawming tool where you can add any 3rd party EXE jobs that will run on their schedule times

#Main Process Runner

  • use nssm or any service installation too install the host process runner as a service. check "service.cmd" file for installation details
  • Host process accepts the 1st argument as the polling duration of the service which cannot be less then 3000 millis


#Adding Jobs Root folder of the process-runner has a folder "Jobs"

  1. Each Job should be in their own folders
  2. Job Folder file system
    • Settings File (job.json)
    • Other executables if any (EXE, sh etc)
  3. Settings file name should be same as that of parent folder

#Job Settings Job settings file (abc.json) contains 2 elements

  1. "command" - Main executable process without args
  2. "args" - Specify the argumets to your command with space separated
  3. "schedule" - Provide the execution schedule. contains 2 property as
    • "type" - can be "Daily, Weekly, Monthly, Yearly"
    • "value" - the schedule timestamp as
      • Polling - "2" (Executing the process after every "2" hours.
      • Daily - "16:05"
      • Weekly - "Friday 16:05"
      • Monthly - "02 16:05" (02 is the date)
      • Yearly - "01-02 16:05" (01 is month, 02 is date)

Sample Job is the part of the project


** Scheduling part is still in development.

process-runner's People

Contributors

sonuame avatar

Watchers

 avatar 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.