FG

Unix: sleep until the specified time

Fresh3 days ago
Mar 15, 202615233 views
Confidence Score0%
0%

Problem

Is there a (semi-)standard Unix command that would sleep until the time specified on its command line? In other words, I am looking for something similar to that would take wakeup time rather than duration. For example: I can code something up but would rather not re-invent the wheel if there's alr…

Error Output

sleep

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Unix: sleep until the specified time

Low Risk

If you're on a Unix that has a decent date command and are using bash, you could use the format for calculating time. being 5PM. telling date not to actually set the date.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment