{"id":17032397,"url":"https://github.com/cbenoit/autocmd","last_synced_at":"2025-03-22T21:16:40.450Z","repository":{"id":98571217,"uuid":"94794824","full_name":"CBenoit/autocmd","owner":"CBenoit","description":"A simple program that issues a command a certain amount of times with a given interval.","archived":false,"fork":false,"pushed_at":"2018-09-14T01:46:27.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T22:53:59.040Z","etag":null,"topics":["cli","command-line","command-line-app","productivity"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/CBenoit.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-19T15:56:44.000Z","updated_at":"2021-12-10T10:50:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cd9554f-5201-4867-87a8-bd7d1afe7147","html_url":"https://github.com/CBenoit/autocmd","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/CBenoit%2Fautocmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CBenoit%2Fautocmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CBenoit%2Fautocmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CBenoit%2Fautocmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CBenoit","download_url":"https://codeload.github.com/CBenoit/autocmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020343,"owners_count":20548180,"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":["cli","command-line","command-line-app","productivity"],"created_at":"2024-10-14T08:28:21.082Z","updated_at":"2025-03-22T21:16:40.416Z","avatar_url":"https://github.com/CBenoit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoCMD\n\nA simple program that issues a command a certain amount of times with a given interval.\n\n![Example screenshot](http://i.imgur.com/5KYLaXs.png)\n\n## Usage\n\n```\nautocmd [FLAGS] [OPTIONS] --interval \u003cinterval\u003e [--] \u003ccommand\u003e...\n```\nWith \u003ccommand\u003e the command to issue.\n\nAvailable flags:\n\n    -h, --help            Prints help information\n    -o, --print_output    Show the chosen command outputs in the standard output (dosen't cancel --quiet)\n    -q, --quiet           Disable AutoCMD standard outputs (doesn't cancel --print_output)\n    -V, --version         Prints version information\n\nAvailable options:\n\n    -i, --interval \u003cinterval\u003e    Interval between commands in seconds\n    -r, --repeat \u003crepeats\u003e       Repeat \u003crepeats\u003e times and stop\n\nNote that if repeat option is not provided the program shall run indefinitely.\n\nI personally sometimes use it like so:\n```\n$ autocmd -i 300 -- cvlc --play-and-stop --play-and-exit --quiet notif.wav\n```\nTo indefinitely play a sound every 5 minutes with `cvlc`.\n\n## Build\n\nThis program is written in [Rust](https://www.rust-lang.org). As such, you can simply build it with cargo:\n```\n$ cargo build --release\n```\nThe `autocmd` program shall be found in the folder `./target/release`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbenoit%2Fautocmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbenoit%2Fautocmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbenoit%2Fautocmd/lists"}