{"id":19647293,"url":"https://github.com/ibexa/cron","last_synced_at":"2025-08-21T07:09:45.772Z","repository":{"id":44613795,"uuid":"353264987","full_name":"ibexa/cron","owner":"ibexa","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-05T10:29:37.000Z","size":118,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-08-05T10:59:06.731Z","etag":null,"topics":["ibexa-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibexa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-03-31T07:25:00.000Z","updated_at":"2025-07-13T20:42:18.000Z","dependencies_parsed_at":"2023-02-14T06:55:15.606Z","dependency_job_id":"c73dfd98-a585-4aad-b495-5b338ac546f3","html_url":"https://github.com/ibexa/cron","commit_stats":{"total_commits":65,"total_committers":21,"mean_commits":"3.0952380952380953","dds":0.8307692307692307,"last_synced_commit":"fd08e7cd3e44d654a76c0ec3b2110d24e151445a"},"previous_names":[],"tags_count":92,"template":false,"template_full_name":null,"purl":"pkg:github/ibexa/cron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibexa","download_url":"https://codeload.github.com/ibexa/cron/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271157958,"owners_count":24709066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ibexa-bundle"],"created_at":"2024-11-11T14:43:17.849Z","updated_at":"2025-08-21T07:09:45.764Z","avatar_url":"https://github.com/ibexa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ibexa Cron\n\nThis package exposes [cron/cron](https://github.com/Cron/Cron) package for use in Ibexa (or just plain Symfony) via a simle command\n`ibexa:cron:run`.\n\nThis is *not* a replacement for [cron/cron-bundle](https://github.com/Cron/Symfony-Bundle) but rather a simpler alternative to it which can more easily grow into focusing more on Ibexa Platform needs in the future including e.g. support for handling cron jobs across a cluster install _(separating jobs that should run on all nodes vs jobs that should only be run on one at a time and a lock system to go with it for instance)_.\n\n\n\n## Setup system cron\n\nPick your systems cron / scheduling and setup `ezplatform:cron:run` command to run every minute and optionally specifying category _(default: `default`)_:\n\nExample for Linux crontab (`crontab -e`):\n```bash\n* * * * * /path/to/php app/console ezplatform:cron:run [ --category=default] \u003e/dev/null 2\u003e\u00261\n```\n    \n\n\n## Setting up own cron commands\n\n\nSetting up own cron jobs is as simple as tagging services for your existing Symfony Commands.\n\nThe tag takes the following arguments:\n- `name`: `ibexa.cron.job`\n- `schedule`: _Takes any kind of [format supported by cron/cron](https://github.com/Cron/Cron#crontab-syntax), which mimics linux crontab format. E.g. `* * * * *`_\n- `category`: _(Optional, by default: `default`) Lets you separate cronjobs that should be run under different logic then default, e.g. infrequent jobs (NOTE: Means end user will need to setup several entries in his crontab to run all categories!)_\n- `options`: _(Optional, by default: `''`) Takes custom option/s in string format which are added to the command. (E.g. '--keep=0 --status=draft' for running the cleanup versions command)_\n\n\n### Example\n\n```yml\n    date_based_published.cron.publish_scheduled:\n        class: EzSystems\\DateBasedPublisherBundle\\Command\\PublishScheduledCommand\n        tags:\n            - { name: console.command }\n            - { name: ibexa.cron.job, schedule: '* * * * *' }\n```\n\n## Logging run command\nIf you want to log outputs of commands processed by run command you have to add the monolog channel `cronjob` to your configuration.\n\n### Example\n```yml\n    monolog:\n        channels: [...,'cronjob']\n        handlers:\n            cronjob:\n                bubble: false\n                level: info\n                type: stream\n                path: '%kernel.logs_dir%/cronjob.log'\n                channels: [cronjob]\n```\n\n## COPYRIGHT\nCopyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.\n\n## LICENSE\nThis source code is available separately under the following licenses:\n\nA - Ibexa Business Use License Agreement (Ibexa BUL),\nversion 2.4 or later versions (as license terms may be updated from time to time)\nIbexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,\nas described at: https://www.ibexa.co/product\nFor the full Ibexa BUL license text, please see:\n- LICENSE-bul file placed in the root of this source code, or\n- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)\n\nAND\n\nB - GNU General Public License, version 2\nGrants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:\n- LICENSE file placed in the root of this source code, or\n- https://www.gnu.org/licenses/old-licenses/gpl-2.0.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Fcron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibexa%2Fcron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Fcron/lists"}