Code Monkey home page Code Monkey logo

scheduler's Introduction

Sheduler

About

This project is an implementation of a staggered process scheduling manager and was build and can be can be build using make or using g++ on both files:

  • escalonador.cpp
  • solicitaexecucao.cpp
  • removepostergado.cpp
  • listaportergado.cpp

The programming langugage used was C++ so is necessary have the g++ compiler installed in you computer. We've used C++11 on this project, so to compile each file, we use the flag -std=c++11.

We used the version 5.4.0 of g++.

Execute

To compile the files of this project, inside the path of project scheduler, use the command:

 $ make

To execute the escalonador, use the command:

$ ./escalonador &

To execute the solicita_execucao, use the command:

$ ./solicita_execucao <HH:MM> <C> <P> <NAME>

Where:

  • HH:MM it's the delay, example : 01:15, the program will wait for 1 hour and 35 minutes and after that will be executed. So the formart is the firts two digits represent hour and the last two minutes.

  • C is an intenger number gratter thant 0 and represent the number of copies.

  • P is an integer number, can be 1, 2 or 3 and represent the priority. (1 is the bigger and 3 the smaller).

  • NAME is the name of executable file, this file needs to be inside the project folder.

To execute the remove_postergado, use the command:

$ ./remove_postergado <job_id>

To execute the lista_postergado, use the ocmmand:

$ ./lista_postergado

License

This project is licensed under the MIT License - see the LICENSE.md file for details

scheduler's People

Stargazers

 avatar

Watchers

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