Coder Social home page Coder Social logo

badreddine-barradi / cronify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yoanbernabeu/cronify

0.0 0.0 0.0 1.58 MB

Simply monitor your Cron

License: MIT License

Shell 2.47% JavaScript 4.03% PHP 82.73% CSS 0.27% Makefile 1.50% Dockerfile 0.82% Twig 8.18%

cronify's Introduction

Cronify

Simply monitor your Cron

Pipeline-CI MIT License

Logo


1. Table of Contents


2. What is cronify ?

Cronify is a simple tool to monitor the execution of your cron jobs.

The use is super simple:

  1. Declare one or more applications
  2. Declare one or more jobs for your applications
  3. For each job, you only have to touch three addresses to log the execution:
    • An address to start a cron
    • An address to stop a cron
    • An address to indicate an error

3. How to install the app ?

Cronify is a simple Symfony/PHP/PostgreSQL application.

This documentation offers a simplified installation FOR DEVELOPMENT ONLY with Docker. You can do without it if you already have PostgreSQL.

3.1. Prerequisites

3.2. Clone and install

git clone https://github.com/yoanbernabeu/Cronify.git
cd Cronify
make install

3.3. Create a new User

User creation is possible from the command line.

symfony console app:create-user [email protected] password

4. How to use ?

Only THREE steps to get your cron job monitoring addresses !

4.1. Create a new App

Create App

4.2. Create a new Job

Create Job

4.3. Get Cron Code snippet

Get Cron Code snippet

5. How to quickly test Cronify?

We offer you a quick method to test the application with the use of a preconfigured Docker container.

5.1. Create a docker-compose.yml

version: '3'

services:
  database:
    image: postgres:${POSTGRES_VERSION:-13}-alpine
    environment:
      POSTGRES_DB: ${POSTGRES_DB:-app}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}
      POSTGRES_USER: ${POSTGRES_USER:-symfony}
    volumes:
      - db-data:/var/lib/postgresql/data:rw

  app:
    image: yoanbernabeu/cronify:latest
    ports:
      - "8080:80"
    environment:
      DATABASE_URL: postgres://${POSTGRES_USER:-symfony}:${POSTGRES_PASSWORD:-ChangeMe}@database:5432/${POSTGRES_DB:-app}

volumes:
  db-data:

5.2. Start containers

docker-compose up -d

5.3. Launch your browser and have fun !

6. Build your own Docker image

If you want to build your own Docker image, we provide a make command that you need to adapt to your context.

Do not run the command without modifications, you would not have the rights to upload the image to the Docker Hub.

make docker-build-and-push

7. License

See the bundled LICENSE file.

cronify's People

Contributors

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