{"id":17343437,"url":"https://github.com/firesphere/sentry-cron","last_synced_at":"2025-03-27T09:41:38.508Z","repository":{"id":142282602,"uuid":"599397535","full_name":"Firesphere/sentry-cron","owner":"Firesphere","description":"PHP Cron jobs pushing to Sentry","archived":false,"fork":false,"pushed_at":"2023-02-09T03:38:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T14:29:59.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Firesphere.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-02-09T03:32:12.000Z","updated_at":"2023-02-09T03:32:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"a050a454-8bd8-4b56-9f2c-120e02e261f0","html_url":"https://github.com/Firesphere/sentry-cron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fsentry-cron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fsentry-cron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fsentry-cron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fsentry-cron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Firesphere","download_url":"https://codeload.github.com/Firesphere/sentry-cron/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245820392,"owners_count":20677831,"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","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":[],"created_at":"2024-10-15T16:09:24.064Z","updated_at":"2025-03-27T09:41:38.492Z","avatar_url":"https://github.com/Firesphere.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentry-cron\n\nInstallation:\n\n`composer require firesphere/sentry-cron`\n\n# Usage\n\nCreate a cronjob in Sentry, and get its key.\n\nGet your Sentry DSN key\n\nIn your PHP task that is supposed to run periodically, include the Sentry Trait:\n\n```php\nclass MyPeriodicClass\n{\n    use \\Firesphere\\SentryCron\\SentryTrait;\n    \n    public function doTheThing()\n    {\n        $this-\u003estart($dsn, $cronjob_id);\n        \n        // Your code actions here\n        $error = false; // Or true if an error happened in your code.\n        \n        $this-\u003eend($error);\n    }\n}\n```\n\nThat's pretty much all there's to it :)\n\n\n# Cow?\n\nCow!\n\n```\n\n             /( ,,,,, )\\\n            _\\,;;;;;;;,/_\n         .-\"; ;;;;;;;;; ;\"-.\n         '.__/`_ / \\ _`\\__.'\n            | (')| |(') |\n            | .--' '--. |\n            |/ o     o \\|\n            |           |\n           / \\ _..=.._ / \\\n          /:. '._____.'   \\\n         ;::'    / \\      .;\n         |     _|_ _|_   ::|\n       .-|     '==o=='    '|-.\n      /  |  . /       \\    |  \\\n      |  | ::|         |   | .|\n      |  (  ')         (.  )::|\n      |: |   |;  U U  ;|:: | `|\n      |' |   | \\ U U / |'  |  |\n      ##V|   |_/`\"\"\"`\\_|   |V##\n         ##V##         ##V##\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiresphere%2Fsentry-cron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiresphere%2Fsentry-cron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiresphere%2Fsentry-cron/lists"}