UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 39.12 What Makes Your Computer Slow? How Do You Fix It?Chapter 40Next: 40.2 Waiting a Little While: sleep
 

40. Delayed Execution

Contents:
Off-Peak Job Submission
Waiting a Little While: sleep
The at Command
Choosing the Shell Run (We Hope) by at
Avoiding Other at and cron Jobs
System V.4 Batch Queues
Making Your at Jobs Quiet
Automatically Restarting at Jobs
Checking and Removing Jobs
nextday, nextweekday: Tomorrow or Next Weekday
Send Yourself Reminder Mail
Periodic Program Execution: The cron Facility
Adding crontab Entries
Including Standard Input Within a cron Entry
crontab Script Makes crontab Editing Easier/Safer

40.1 Off-Peak Job Submission

Now that time sharing and interactive programming have become universal, many UNIX users have forgotten one of the best ways to get the most out of the system: running jobs at nights or on the weekend. Most people tend to work from 9 to 5, which is roughly one-third of the day. (Though many programmers do keep later hours!) If you can make use of the other hours (night and weekends), you can almost quadruple your system's throughput. Running jobs at night is less fun than running them interactively, but it is a lot less expensive than three new machines. If you can use off-peak hours, you will get a lot more work from your hardware.

There are a few mechanisms to take advantage of off-peak hours:

- ML


Previous: 39.12 What Makes Your Computer Slow? How Do You Fix It?UNIX Power ToolsNext: 40.2 Waiting a Little While: sleep
39.12 What Makes Your Computer Slow? How Do You Fix It?Book Index40.2 Waiting a Little While: sleep

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System