HOUR 15 Running Jobs in the Future

Image

The gist of our study together through this point in the book has been learning how to accomplish tasks, and then how to automate them with aliases and shell scripts (though the latter will be covered in greater detail later in the book). What’s been missing has been any sort of scheduler, a way whereby you can instruct the Unix system to run a specified command or set of commands in the future.

That’s what this hour focuses on, and it’s one of my favorite parts of Unix: crontab. Through the cron mechanism, as crontab is called generally, you can specify Unix commands or shell scripts to run at a specific minute, ...

Get Sams Teach Yourself Unix System Administration in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.