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

I founded ItsChromeOS in 2018 to spread the word on the future of Chrome OS with a passionate team of enthusiasts. Care about Chrome OS Flex? We cover that too! ItsChromeOS isn't your average blogging space, it's a Chrome-first space for the everyone using Chrome OS. Support our vision here: donate.itschromeos.com

0 Comments

Leave a Reply

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

BrandsView All
Show More Brands
ManufacturersView All
Show More Brands