[CentOS] Linux at command

Tue Mar 20 14:56:37 UTC 2007
Marko A. Jennings <markobiz at bluegargoyle.com>

On Tue, March 20, 2007 10:40 am, Frank M. Ramaekers wrote:
> I'm having a problem with the Linux (unix) at command.  I have a
> program/script that needs to run another program/script within seconds.
> Unfortunately the at command only accepts minutes as input.  Therefore,
> scheduling a command within a minute (i.e. adding 1 minute to the
> current time), can cause the command to run within 1 to 60 seconds.
> (Add 1 minute to a time such as 11:43:59 will cause it to run at
> 11:44:00, one second later.)  I don't quite understand why unix has this
> limitation.
> Is there something else I should be considering?

You might want to take a look at the sleep command.