Download the PHP package piou-piou/ribs-cron-bundle without Composer
On this page you can find all versions of the php package piou-piou/ribs-cron-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download piou-piou/ribs-cron-bundle
More information about piou-piou/ribs-cron-bundle
Files in piou-piou/ribs-cron-bundle
Package ribs-cron-bundle
Short Description RibsCronBundle is a bunlde to use cron via curl a url of you website with cron based time
License MIT
Homepage https://github.com/Ribs-organization/RibsCronBundle
Informations about the package ribs-cron-bundle
RibsCronBundle
RibsCronBundle is a bunlde to use cron via curl a url of you website with cron based time
Create you first method called by ribs_cron
Craete a new Controller class and extends it to RibsCronController. Create a method with the name you want like this example :
Now to make this method called by /ribs-cron url you must add it to ribs_cron.yaml config file like this :
After that each time you have in your crontab file a curl to /ribs-cron url testCronCall method will be executed each minute. Parameters in quote run like standard cron time system.
How to call your cron url at any time with external url
In you .env file you can add two parameters : IP_CRON_EXTERNAL to add external IP that can call your cron IP_CRON_INTERNAL= internal IP of the server that can call your cron
All versions of ribs-cron-bundle with dependencies
mtdowling/cron-expression Version ^1.2.1
symfony/config Version ^3.4|^4.0|^5.0
symfony/dependency-injection Version ^3.3|^4.0|^5.0
symfony/framework-bundle Version ^3.3|^4.0|^5.0
sensio/framework-extra-bundle Version ^5.4 || ^6.0
symfony/http-foundation Version ^3.2 || ^4.0 || ^5.0
symfony/http-kernel Version ^3.3|^4.0|^5.0
symfony/routing Version ^3.2 || ^4.0 || ^5.0