livialima / linuxupskillchallenge

Learn the skills required to sysadmin a remote Linux server from the commandline.
https://linuxupskillchallenge.org/
Other
1.73k stars 226 forks source link

Day 10 - find a better use case of cron #54

Closed livialima closed 3 months ago

livialima commented 4 months ago

The original task of day 10 is to schedule system updates using cron. Although this is a very easy task that beginners can jump right into, IRL is usually a bad idea. Need to rewrite the lesson to a more realistic approach, using industry best practices.

Suggestions are welcome and appreciated!

kraker commented 4 months ago

@livialima -- This is topical for me since I've been deeply immersed in cronjob stuff at work recently. Feel free to assign this issue to me if you like. A couple of use-cases I see on a regular basis are backups with rsync or cleaning up old files usually with some type of find command. I should be able to come up with a good example.

Best practices probably should resemble Arabesque's I think: https://blog.sanctum.geek.nz/cron-best-practices/