{"id":16572812,"url":"https://github.com/lemire/emailwhendone","last_synced_at":"2025-10-24T17:39:12.442Z","repository":{"id":66054824,"uuid":"54836996","full_name":"lemire/emailwhendone","owner":"lemire","description":"A script that sends an email when a task has been completed","archived":false,"fork":false,"pushed_at":"2016-03-27T17:58:38.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-05T14:29:23.463Z","etag":null,"topics":["email","script"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lemire.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":"2016-03-27T16:15:50.000Z","updated_at":"2022-09-16T03:20:12.000Z","dependencies_parsed_at":"2023-03-13T20:31:01.368Z","dependency_job_id":null,"html_url":"https://github.com/lemire/emailwhendone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lemire/emailwhendone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2Femailwhendone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2Femailwhendone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2Femailwhendone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2Femailwhendone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemire","download_url":"https://codeload.github.com/lemire/emailwhendone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2Femailwhendone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502182,"owners_count":23618558,"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":["email","script"],"created_at":"2024-10-11T21:28:38.273Z","updated_at":"2025-10-24T17:39:12.334Z","avatar_url":"https://github.com/lemire.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emailwhendone\nA script that sends an email and generally tries to notify you \nwhen a task has been completed.\n\n## Requirement\n\n- It is a bash script. \n- Assumes Linux or MacOS with a working ``mail`` command.\n\n## Usage\n\nInstead of typing\n\n```bash\nsort giganticfile\n```\n\nand forgetting about it...\n\nTry\n\n```bash\nemailwhendone.sh myemail@something sort giganticfile\n````\n\nIt will email myemail@something when the task terminates.\n\n## Extra\n\nIn addition to email, the script will try to notify you using\n``growl`` or ``notify-send`. On a Mac, you can install the legacy \ngrowl for free: https://bitbucket.org/pmetzger/growl/downloads\nMake sure to install ``growlnotify`` from the extras. On a recent\nLinux installation, notify-send should already be present.\n\n## Troubles\n\nThough most Linux and Mac computers come with a working ``mail``\ncommand, it may not actually work because of anti-spam measures.\n\nYou should check whether email works with a command such as\nthis one :\n\n```bash\necho \"test\"| mail -s \"test\" youremail\n```\n\nIf this does not work, you need to seek help.\n\n\n## Credit\n\nInspired by Emmanuel Bernard's script \nhttps://emmanuelbernard.com/blog/2015/03/26/being-notified-when-commands-end/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemire%2Femailwhendone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemire%2Femailwhendone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemire%2Femailwhendone/lists"}