Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

doin

herrmanno10ISC1.1.0

Utility tool for executing a shell command after a given time

timeout, later, do, shell, at

readme

doin

doin is a utility tool to help you execute simple shell commands after a specific timeout.

install

npm i -g doin

usage

doin <timeout> <command>

The format of timout is (\d+[hHmMsS])+.

command can be a single word, quote or multiple words, whil will be interpreted as the whole commmand.

examples

doin 2m30s echo Reminder: my tea is ready

doin 8h say 'Enough of work. Go home.'

doin 1H2M3S 'echo foo > bar.txt'