{"id":18544724,"url":"https://github.com/131/swarm-pulse","last_synced_at":"2026-02-22T21:01:11.311Z","repository":{"id":232211971,"uuid":"783668697","full_name":"131/swarm-pulse","owner":"131","description":"A docker swarm task scheduler","archived":false,"fork":false,"pushed_at":"2025-02-07T12:15:21.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-18T04:44:28.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/131.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-04-08T10:44:18.000Z","updated_at":"2025-02-07T12:15:23.000Z","dependencies_parsed_at":"2024-10-04T13:50:56.189Z","dependency_job_id":"e068c645-5cfc-4a95-b100-f2d347dcf2c1","html_url":"https://github.com/131/swarm-pulse","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.1071428571428571,"last_synced_commit":"ec3843c811b80e3b1a3da63a41bdefda387e31b6"},"previous_names":["131/swarm-pulse"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/131/swarm-pulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fswarm-pulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fswarm-pulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fswarm-pulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fswarm-pulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/131","download_url":"https://codeload.github.com/131/swarm-pulse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fswarm-pulse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280864162,"owners_count":26404432,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-06T20:17:25.826Z","updated_at":"2025-10-27T05:02:06.728Z","avatar_url":"https://github.com/131.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/131/swarm-pulse/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/131/swarm-pulse/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/131/swarm-pulse/badge.svg?branch=master)](https://coveralls.io/github/131/swarm-pulse?branch=master)\n[![Version](https://img.shields.io/npm/v/swarm-pulse.svg)](https://www.npmjs.com/package/swarm-pulse)\n\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT)\n[![Code style](https://img.shields.io/badge/code%2fstyle-ivs-green.svg)](https://www.npmjs.com/package/eslint-plugin-ivs)\n\n# Motivation\n\n[swarm-pulse](https://github.com/131/swarm-pulse) is a SDK for a docker swarm scheduler engine.\n\n\n# Setup\n\n\nexport PULSE_CONFIG_PATH=$(pwd)/test/tasks-offline.json\nexport DEBUG=*,-express:*,-send,-eslint:*,-eslintrc:*\n\n\n# Query plan\n```\n\n*    *    *    *    *    *\n┬    ┬    ┬    ┬    ┬    ┬\n│    │    │    │    │    |\n│    │    │    │    │    └ day of week (0 - 7) (0 or 7 is Sun)\n│    │    │    │    └───── month (1 - 12)\n│    │    │    └────────── day of month (1 - 31)\n│    │    └─────────────── hour (0 - 23)\n│    └──────────────────── minute (0 - 59)\n└───────────────────────── second (0 - 59, optional)\n\n\n0 */2     * * *\n=\u003e trigger every 2 hour\n```\n\n\n#  Persistence\n\nBy design, we avoir keeping any persistence, task are awaited until their scheduled trigger. If the trigger is missed, the tasks will have to wait until the next event.\n\n\n\n# Status\n* **running**   (sql query is ongoing)\n* **pending**   (query is scheduled to be executed ASAP)\n* **scheduled** (query is awaiting a futur trigger)\n\n\n\n# Overlap\nOverlapping tasks are _dropped_. I.e. : if as task currently **running** (or **pending**) and the schedule trigger is fired, execution order will be droppped (until next tick)\n\nKilling  the daemon will abort all running (and pending) tasks until next scheduled trigger.\n\n\n\n# Credits \n* [131](https://github.com/131)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F131%2Fswarm-pulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F131%2Fswarm-pulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F131%2Fswarm-pulse/lists"}