caarlos0 / timer

A `sleep` with progress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature suggestion: timer to specific time

smjure opened this issue · comments

First of all, thank you for lovely package.

Many times I use sleep to execute a function at certain time, especially over night. Usual steps I take are to calculate number of seconds, say to 02:14am and then simply use sleep nbSeconds; ./functionToExecute.sh.

It would be aweseome e.g. to have something like this:
timer -t 02:14am like -t or --time to time

Please consider implementing it.

seems nice, happy to review a pr