{"id":19667333,"url":"https://github.com/willnet/delayed_job_browser","last_synced_at":"2025-06-25T10:34:25.379Z","repository":{"id":66318859,"uuid":"73794978","full_name":"willnet/delayed_job_browser","owner":"willnet","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-16T11:58:23.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T11:05:38.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"FiNCDeveloper/delayed_job_browser","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willnet.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":"2016-11-15T08:56:20.000Z","updated_at":"2023-03-03T06:05:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"a41f9a02-1eb4-4532-829b-e320f2be4c81","html_url":"https://github.com/willnet/delayed_job_browser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willnet/delayed_job_browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fdelayed_job_browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fdelayed_job_browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fdelayed_job_browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fdelayed_job_browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willnet","download_url":"https://codeload.github.com/willnet/delayed_job_browser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willnet%2Fdelayed_job_browser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261852982,"owners_count":23219777,"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-11T16:31:46.554Z","updated_at":"2025-06-25T10:34:25.130Z","avatar_url":"https://github.com/willnet.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DJB\n\n## What's this ?\n\nThis application is the `delayed job browser`.\n\nThrough this application, you can\n\n  * see what jobs are queued in delayed job over multi databases.\n  * delete queues job because of, for example, a kind of errors.\n\n## Installation\n\nTo start your Phoenix app:\n\n  * Install dependencies with `mix deps.get`\n  * Create and migrate your database with `mix ecto.create \u0026\u0026 mix ecto.migrate`\n  * Install Node.js dependencies with `npm install`\n  * Start Phoenix endpoint with `mix phoenix.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\nReady to run in production? Please [check our deployment guides](http://www.phoenixframework.org/docs/deployment).\n\n## Add delayed job repository\n\n### 1. Add a repository file under `lib/delayed_job_browser/repos` directory, such as my_app_repo.ex.\n\n```ex\n\ndefmodule DJB.Repos.MyAppRepo do\n  use Ecto.Repo, otp_app: :delayed_job_browser\nend\n```\n\n### 2. Notify this repo class to supervisor in `lib/delayed_job_browser.ex` .\n\n```ex\n\n(omit)\n      supervisor(DJB.Repo, []),\n      supervisor(DJB.Repos.MyAppRepo, []),  # \u003c= Add this line.\n(omit)\n```\n\n### 3. Add database configuration to config/{env}.exs\n\n```ex\n\nconfig :delayed_job_browser, DJB.Repos.MyApp,\n adapter: Ecto.Adapters.MySQL,\n username: \"root\",\n password: \"\",\n database: \"my_app_#{environment}\",\n hostname: \"localhost\",\n pool_size: 10,\n priv: \"priv/repos/my_app_repo\"\n```\n\n### 4. Make directory to store migration file for that app if you need.\n\n```sh\n$ mkdir priv/repos/my_app_repo\n```\n\n### 5. Add application settings to delayed_job_controller#show\n\n```ex\ndelayed_jobs_with_app = [{\"my_app\", DJB.Repos.MyAppRepo}]\n                        Enum.map(fn({app, repo}) -\u003e {app, DelayedJob |\u003e repo.all} end)\n# delayed_jobs_with_app = [] # Remove this line\n```\n\n### 6. Add application settings to delayed_job_controller#destroy\n\n```ex\nrepo = case application do\n  \"my_app\" -\u003e DJB.Repos.MyAppRepo\nend\nDelayedJob |\u003e repo.get(id) |\u003e repo.delete\n```\n\n### 7. Enjoy !!\n\n## Learn more\n\n  * Official website: http://www.phoenixframework.org/\n  * Guides: http://phoenixframework.org/docs/overview\n  * Docs: https://hexdocs.pm/phoenix\n  * Mailing list: http://groups.google.com/group/phoenix-talk\n  * Source: https://github.com/phoenixframework/phoenix\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Fdelayed_job_browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillnet%2Fdelayed_job_browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillnet%2Fdelayed_job_browser/lists"}