cronmon | PHP Web app to monitor cron/scheduled tasks

 by   ohnotnow PHP Version: 3.0.0 License: MIT

kandi X-RAY | cronmon Summary

kandi X-RAY | cronmon Summary

cronmon is a PHP library. cronmon has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A PHP web app to monitor & alert cron jobs using a simple http api. It allows users to create job entries with given periods and grace windows. Then their scheduled tasks can do a simple HTTP GET to the unique URI generated each time they run. If a job doesn't call in within the given grace window then an alert is sent to the user.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cronmon has a low active ecosystem.
              It has 71 star(s) with 16 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 4 have been closed. On average issues are closed in 40 days. There are 27 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cronmon is 3.0.0

            kandi-Quality Quality

              cronmon has 0 bugs and 0 code smells.

            kandi-Security Security

              cronmon has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              cronmon code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              cronmon is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              cronmon releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              cronmon saves you 4689 person hours of effort in developing the same functionality from scratch.
              It has 9900 lines of code, 364 functions and 175 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed cronmon and discovered the below as its top functions. This is intended to give you an instant insight into cronmon implemented functionality, and help decide if they suit your requirements.
            • Create new admin .
            • Checks for non - silenced jobs .
            • Get rules .
            • Define custom fields .
            • Convert units to minutes
            • Create a new cron job
            • Filter templates .
            • Create a new user .
            • Check if a cron expression is valid
            • Define API routes .
            Get all kandi verified functions for this library.

            cronmon Key Features

            No Key Features are available at this moment for cronmon.

            cronmon Examples and Code Snippets

            Cronmon,Creating a job via a templete and API call
            PHPdot img1Lines of Code : 17dot img1License : Permissive (MIT)
            copy iconCopy
            curl -X POST http://cronmon.dev:8000/api/templates/3-monthly-windows-backup
            
            {
              "data": {
                "id": 8,
                "is_awol": false,
                "show_url": "http://cronmon.dev:8000/job/8",
                "user_url": "http://cronmon.dev:8000/admin/user/1",
                "username": "ad  
            Cronmon,Production Docker
            PHPdot img2Lines of Code : 15dot img2License : Permissive (MIT)
            copy iconCopy
            export PHP_VERSION=7.3
            export IMAGE_NAME=cronmon
            export DOTENV_NAME=cronmon-dotenv-1
            cat .env | docker secret create ${DOTENV_NAME} -
            docker build --target=prod -t $IMAGE_NAME .
            docker stack deploy -c prod-stack.yml cronmon
            
            CRONMON_ADMIN_USERNAME=wh  
            Cronmon,Using the checks
            PHPdot img3Lines of Code : 12dot img3License : Permissive (MIT)
            copy iconCopy
            #!/bin/bash
            
            # basic exit on error
            set -e
            
            # do something
            rsync -a /home/me /mnt/usb/backup
            
            # now ping the app to let it know we ran ok
            curl -s http://cronmon.dev:8000/ping/c6ad9b87-f945-440e-bc90-c0bc8794f52a
            
            curl -s http://cronmon.dev:8000/ping/c  

            Community Discussions

            No Community Discussions are available at this moment for cronmon.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install cronmon

            Clone the repository into a new folder. Then in the new directory run :. If you don't have composer already then you can download it from https://getcomposer.org/ . You will also need to point a webserver vhost with ${your_directory}/public as it's document root.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries