LinuxCommandLibrary

in

Schedule command

TLDR

Schedule command

$ in [2h] [command]
copy
Run at specific time
$ in [14:30] [command]
copy
Schedule with minutes
$ in [30m] [command]
copy
Run tomorrow
$ in [1d] [command]
copy

SYNOPSIS

in time command

DESCRIPTION

in is a simple command scheduler that runs commands after a specified delay. It provides an alternative to at with simpler time syntax.
The tool backgrounds the sleep and command execution. Output is typically mailed or discarded.
in schedules commands with delay.

PARAMETERS

TIME

Time specification (e.g., 2h, 30m, 1d, 14:30).
COMMAND
Command to execute.
h
Hours suffix.
m
Minutes suffix.
d
Days suffix.

CAVEATS

Shell-dependent implementation. Not POSIX standard. Consider at for portability.

HISTORY

in is a simplified scheduling utility found in some shell environments as an alias or script wrapper around sleep and command execution.

SEE ALSO

at(1), sleep(1), cron(8), batch(1)

Copied to clipboard