{"id":19854715,"url":"https://github.com/phwoolcon/cron","last_synced_at":"2026-05-10T12:03:05.426Z","repository":{"id":57041235,"uuid":"197346411","full_name":"phwoolcon/cron","owner":"phwoolcon","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-17T08:18:37.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T13:50:55.814Z","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/phwoolcon.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}},"created_at":"2019-07-17T08:18:19.000Z","updated_at":"2019-07-17T08:18:40.000Z","dependencies_parsed_at":"2022-08-23T23:31:10.943Z","dependency_job_id":null,"html_url":"https://github.com/phwoolcon/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/phwoolcon%2Fcron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phwoolcon%2Fcron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phwoolcon%2Fcron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phwoolcon%2Fcron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phwoolcon","download_url":"https://codeload.github.com/phwoolcon/cron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241245016,"owners_count":19933295,"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-11-12T14:10:12.784Z","updated_at":"2026-05-10T12:03:05.330Z","avatar_url":"https://github.com/phwoolcon.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cronjob 管理包\n\n## 使用说明\n\n请在使用的项目中添加配置文件 cron.php , 内容格式如下:\n\n\n```php\n\u003c?php \n//例子\nreturn [\n    'process_untreated_queue' =\u003e [                  // 名称, 必须唯一\n        'expression' =\u003e '* * * * *',                // cron 的执行规则\n        'class' =\u003e 'Common\\Library\\QueueHelper',    // 执行的类名\n        'method' =\u003e 'processUntreatedQueue'         // 执行的方法\n    ],\n    'update_currency' =\u003e [\n        'expression' =\u003e '0 * * * *',\n        'class' =\u003e 'Common\\Library\\Currency',\n        'method' =\u003e 'updateCurrency',\n    ],\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphwoolcon%2Fcron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphwoolcon%2Fcron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphwoolcon%2Fcron/lists"}