Here is the video version, if you prefer it:
Today let’s talk about scheduling tasks (to run periodically). cron
is used for this, as well as at
. at
is for one time jobs, while cron
is for jobs that should re-occur in the future consistently. I never used any of these, as I never needed to schedule something. This is just for you to know where to look if you ever need to schedule something.
There are efforts underway to replace cron
with parts of init
which are responsible for scheduling tasks, so look into that as well when pondering scheduling tasks. (Ward, 2014)
Thank you for reading!
References
Ward, B. (2014). How Linux Works: What Every Superuser Should Know (2nd ed.). No Starch Press. Pages 159-161