at

Published by Jesse Afolabi on

at Linux command on chromeOS

at command is a rather simple command effective in scheduling tasks to run at a specified time in the future and requires you to install it first as it doesn’t come native chromeOS.

install at command in chromeOS using:

$ sudo apt install at

As a dumbed-down alternative to cron and anacron, it is able to run a single task once at a future time without the risk of editing configuration files on your Chrome OS system.

An example use-case is shutting down your system at a specific time, in this case, 10:44am

$ sudo echo “shutdown -h now” | at -m 10:44

USE CASES:

Usage: at [-V] [-q x] [-f file] [-mMlbv] timespec …
at [-V] [-q x] [-f file] [-mMlbv] -t time
at -c job …
atq [-V] [-q x]
at [ -rd ] job …
atrm [-V] job …
batch

Categories:

Jesse Afolabi

Having been a technical writer for over 4 years, and co-founded Fossmint.com in 2016, I took my passion to the next level with the founding of Itschromeos.com which so happens to revolve around my love for open-source technologies and Chrome OS. It's my hope to venture into new avenues in the tech universe and take you with me on that ride.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *