HOUR 15 Running Jobs in the Future


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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.