Cron Basics and Tips

Опубликовано: 07 Октябрь 2020
на канале: DevDungeon
2,015
56

Learn the basics of setting up cron jobs in Linux and Mac.

Contents:
00:00 Introduction
00:20 Topics
00:38 Cron vs Services
01:11 Written version
01:25 How to edit crontab
03:04 Where crontab files lie
03:51 Cron format
04:44 Run every minute
05:10 Run every 15 minutes
05:30 Run nightly at 1:30 AM
05:55 Run weekly on Sunday at 4:30 AM
06:19 Run monthly on the 1st at 2:15 AM
06:36 Python venv
07:09 Environment variables
07:32 Stringing together multiple commands
08:10 Redirect output
09:10 Recap
09:42 Tips
09:42 View logs

Links:

Cron Job Examples and Tips: https://www.devdungeon.com/content/cr...
Creating Systemd Service Files: https://www.devdungeon.com/content/cr...
How to Create a Secure Linux System User: https://www.devdungeon.com/content/ho...