f3-cron | Job scheduling for the PHP Fat-Free Framework | Job Scheduling library

 by   xfra35 PHP Version: v1.2.1 License: GPL-3.0

kandi X-RAY | f3-cron Summary

kandi X-RAY | f3-cron Summary

f3-cron is a PHP library typically used in Data Processing, Job Scheduling applications. f3-cron has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Job scheduling for the PHP Fat-Free Framework
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              f3-cron has a low active ecosystem.
              It has 72 star(s) with 21 fork(s). There are 12 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 7 have been closed. On average issues are closed in 94 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of f3-cron is v1.2.1

            kandi-Quality Quality

              f3-cron has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              f3-cron is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              f3-cron releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 434 lines of code, 25 functions and 5 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed f3-cron and discovered the below as its top functions. This is intended to give you an instant insight into f3-cron implemented functionality, and help decide if they suit your requirements.
            • Execute a job
            • Parse a cron expression
            • Run the application
            • Returns the path to the command binary .
            • Run all due jobs
            • Parse a timestamp
            • Check if a job is due
            • Set a job
            • Set a preset .
            Get all kandi verified functions for this library.

            f3-cron Key Features

            No Key Features are available at this moment for f3-cron.

            f3-cron Examples and Code Snippets

            Cron,Ini configuration
            PHPdot img1Lines of Code : 20dot img1License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            [CRON]
            log = TRUE
            web = FALSE
            script = /path/to/index.php
            binary = /path/to/php
            
            [CRON.presets]
            lunch = 0 12 * * *
            
            [CRON.jobs]
            Job1 = App->job1, * * * * *
            Job2 = App->job2, @lunch
            Job3 = App->job3, @hourly
            
            [CRON]
            binary = /path/to/php, TRU  
            Cron,Operation and basic usage,Step 2:
            PHPdot img2Lines of Code : 8dot img2License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            //index.php
            $f3=require('lib/base.php');
            ...
            $cron=Cron::instance();
            $cron->set('Job1','App->job1','@daily');
            $cron->set('Job2','App->job2','@weekly');
            ...
            $f3->run();
              
            Cron,Schedule format,Crontab
            PHPdot img3Lines of Code : 8dot img3License : Strong Copyleft (GPL-3.0)
            copy iconCopy
             * * * * *
             │ │ │ │ │
             │ │ │ │ │
             │ │ │ │ └───── day of week (0 - 6) (0 to 6 are Sunday to Saturday)
             │ │ │ └────────── month (1 - 12)
             │ │ └─────────────── day of month (1 - 31)
             │ └──────────────────── hour (0 - 23)
             └───────────────────────── min   

            Community Discussions

            QUESTION

            Call to undefined method Base::grab() [fat-free framework]
            Asked 2018-Jan-30 at 09:43

            I'm trying to set-up a cronjob. I have followed this tutorial here on configuring cronjob with fat-free framework. I have put "cron.php" file in "path/to/app/lib" folder. And my index.php file is :

            ...

            ANSWER

            Answered 2018-Jan-30 at 09:43

            You're obviously using an old version of the framework. The grab() method has been introduced in version 3.5. See https://github.com/bcosca/fatfree-core/blob/master/CHANGELOG.md

            Source https://stackoverflow.com/questions/48514454

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

            Vulnerabilities

            No vulnerabilities reported

            Install f3-cron

            To install this plugin, just copy the lib/cron.php file into your lib/ or your AUTOLOAD folder.

            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
            CLONE
          • HTTPS

            https://github.com/xfra35/f3-cron.git

          • CLI

            gh repo clone xfra35/f3-cron

          • sshUrl

            git@github.com:xfra35/f3-cron.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Job Scheduling Libraries

            Try Top Libraries by xfra35

            f3-access

            by xfra35PHP

            f3-multilang

            by xfra35PHP

            f3-multilang-demo

            by xfra35PHP