{"id":18836651,"url":"https://github.com/dapi/loop_dance","last_synced_at":"2025-04-14T05:31:14.226Z","repository":{"id":1269211,"uuid":"1208324","full_name":"dapi/loop_dance","owner":"dapi","description":"Simple daemonized pseudo-scheduler controlled by rake tasks","archived":false,"fork":false,"pushed_at":"2012-09-06T18:39:50.000Z","size":1305,"stargazers_count":29,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T19:41:51.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/dapi.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-30T12:13:11.000Z","updated_at":"2020-10-15T17:05:39.000Z","dependencies_parsed_at":"2022-08-16T12:50:34.453Z","dependency_job_id":null,"html_url":"https://github.com/dapi/loop_dance","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Floop_dance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Floop_dance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Floop_dance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Floop_dance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dapi","download_url":"https://codeload.github.com/dapi/loop_dance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717237,"owners_count":21150389,"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-08T02:25:02.222Z","updated_at":"2025-04-14T05:31:13.910Z","avatar_url":"https://github.com/dapi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= LoopDance\n\n{\u003cimg src=\"http://travis-ci.org/dapi/loop_dance.png\" /\u003e}[http://travis-ci.org/dapi/loop_dance]\n\nNo forks. No threads. Just looped pseudo-scheduler based on `daemon_controller` and `looper`.\n\nOne dancer is one daemon.\n\n== Easy to install\n\n   gem 'loop_dance'\n\n== Simple to setup\n\nCreate file 'lib/dancers.rb':\n\n    class Dancer1 \u003c LoopDance::Dancer\n\n      every 3.hours do\n        User.notify_all\n      end\n\n      every 60.seconds do\n        Report.checks\n      end\n\n    end\n\n== Useful management\n\nFrom the rails application:\n\n    Dancer1.start unless Dancer1.running?\n\nBy the rake tasks:\n\n    rake loop_dance:start_all\n    rake loop_dance:stop_all\n    rake loop_dance:status\n\n    rake loop_dance:dancer1:start\n    rake loop_dance:dancer1:stop\n    rake loop_dance:dancer1:status\n\n\n== Settings\n\n    class Dancer1 \u003c LoopDance::Dancer\n      mute_log  true       # mute redundant logging, just start, stop and errors\n      autostart true       # enable autostart at rails server startup. False by default\n\n      # Don't trap signals. True by default (trapped)\n      trap_signals false\n      \n      # daemon_controller`s options\n      start_timeout   60            # 15 by default\n      stop_timeout    60            # 15 by default\n      log_file_activity_timeout 17  # 7 by default\n\n      ..\n\n== Alternatives\n\n* https://github.com/DAddYE/foreverb - I Like it!\n\n== Contributing to loop_dance\n \n* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet\n* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it\n* Fork the project\n* Start a feature/bugfix branch\n* Commit and push until you are happy with your contribution\n* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.\n\n== Copyright\n\nCopyright (c) 2010-2011 Danil Pismenny. See LICENSE.txt for\nfurther details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapi%2Floop_dance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdapi%2Floop_dance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapi%2Floop_dance/lists"}