Forrest logo
back to the at tool

at:tldr:0b97d

at: Execute a script at the given time.
$ at ${hh:mm} -f ${filename}
try on your machine

The command "at" is used in Unix-like operating systems to schedule and execute commands or scripts at a specific time in the future.

The format of the command is as follows: at ${hh:mm} -f ${filename}

  • "${hh:mm}" represents the time at which the command should be executed. The time needs to be specified in a 24-hour format, with hours ranging from 00 to 23 and minutes ranging from 00 to 59. For example, "10:30" would represent 10:30 AM or 22:30 would represent 10:30 PM.

  • "-f" flag is used to specify that the command to be executed is stored in a file.

  • "${filename}" represents the name of the file that contains the command or script to be executed. This file should be accessible and contain the necessary permissions to be executed.

When the "at" command is executed with the specified time and filename, it schedules the command or script to be run at the specified time. This enables users to automate tasks or run scripts at specific times without manual intervention.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the at tool