{"id":18907525,"url":"https://github.com/tomodomoco/wp-repeating-task-runner","last_synced_at":"2026-04-29T07:35:03.311Z","repository":{"id":142761254,"uuid":"94449649","full_name":"TomodomoCo/wp-repeating-task-runner","owner":"TomodomoCo","description":"Execute iterating/repeating commands in WordPress","archived":false,"fork":false,"pushed_at":"2018-11-27T16:00:40.000Z","size":19,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T13:52:08.975Z","etag":null,"topics":["plugin","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TomodomoCo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-06-15T14:50:19.000Z","updated_at":"2018-11-27T16:00:42.000Z","dependencies_parsed_at":"2023-03-19T13:36:00.881Z","dependency_job_id":null,"html_url":"https://github.com/TomodomoCo/wp-repeating-task-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TomodomoCo/wp-repeating-task-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-repeating-task-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-repeating-task-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-repeating-task-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-repeating-task-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomodomoCo","download_url":"https://codeload.github.com/TomodomoCo/wp-repeating-task-runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fwp-repeating-task-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["plugin","wordpress"],"created_at":"2024-11-08T09:21:59.052Z","updated_at":"2026-04-29T07:35:03.296Z","avatar_url":"https://github.com/TomodomoCo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Repeating Task Runner\n\nA WordPress plugin framework for executing iterating/repeating commands in the WordPress backend.\n\n\n## Usage\n\nCreate a class with the following template:\n\n```php\n\u003c?php\n\nuse Tomodomo\\Plugin\\RepeatingTaskRunner\\TaskInterface;\n\nclass MyTask implements TaskInterface\n{\n    /**\n     * Unique slug for your task\n     *\n     * @var string\n     */\n    public $slug = 'my-task';\n\n    /**\n     * Friendly name of your task\n     *\n     * @var string\n     */\n    public $name = 'My Task';\n\n    /**\n     * Execute the command\n     *\n     * @param int $start\n     * @param int $iterations\n     *\n     * @return bool\n     */\n    public function execute(int $start, int $iterations)\n    {\n        // Your code here\n\n        return true;\n    }\n}\n```\n\nTo register the command, do the following:\n\n```php\n\u003c?php\n\nadd_filter('Tomodomo\\Plugin\\RepeatingTaskRunner\\tasks', function ($tasks) {\n    $tasks-\u003eaddCommand(new MyCommand);\n\n    return $tasks;\n});\n```\n\n## Notes\n\nGeneral implementation notes and tips:\n\n+ This plugin is in development, and the API is subject to change.\n+ This plugin is intended for environments where \"better\" alternatives (wp-cli solutions, direct database manipulation, etc.) are not possible or could be problematic.\n+ Your command is responsible for determining how it iterates, and what the meaning of an 'iteration' is at all.\n+ Strive for statelessness.\n\n## About Tomodomo\n\nTomodomo is a creative agency for magazine publishers. We use custom design and technology to speed up your editorial workflow, engage your readers, and build sustainable subscription revenue for your business.\n\nLearn more at [tomodomo.co](https://tomodomo.co) or email us: [hello@tomodomo.co](mailto:hello@tomodomo.co)\n\n## License \u0026 Conduct\n\nThis project is licensed under the terms of the MIT License, included in `LICENSE.md`.\n\nAll open source Tomodomo projects follow a strict code of conduct, included in `CODEOFCONDUCT.md`. We ask that all contributors adhere to the standards and guidelines in that document.\n\nThank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomodomoco%2Fwp-repeating-task-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomodomoco%2Fwp-repeating-task-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomodomoco%2Fwp-repeating-task-runner/lists"}