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 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!
Ward, B. (2014). How Linux Works: What Every Superuser Should Know (2nd ed.). No Starch Press. Pages 159-161
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.