[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Schedule command for execution

From: Greg Wooledge
Subject: Re: Schedule command for execution
Date: Tue, 6 Jul 2021 13:23:19 -0400

On Tue, Jul 06, 2021 at 06:06:52PM +0200, Julius Hamilton wrote:
> Hey,
> Is there any single most standard or recommended library for scheduling a
> bash command to execute at a certain time?

POSIX includes crontab and at.  Consult your local operating system
documentation for details.

Typically crontab will run commands with /bin/sh, but you can ask it
to run a script, which would be interpreted by /bin/bash or whatever
you like.  (Putting bash syntax directly into a crontab entry is not
a good idea.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]