O'Reilly logo

Linux and Unix Shell Programming by David Tansley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Running commands unattended

When you are at the terminal or console, you do not want to run jobs that tie up your screen; you want to be getting on with other important tasks like reading your e-mail. It also makes sense to run jobs that are process or disk-intensive during off-peak hours. To enable you to run these types of tasks in the background, i.e. not on your terminal screen, there are certain commands and tools at your disposal.

In this chapter we will cover:

  • setting up and submitting jobs using your own crontab file;

  • submitting jobs using at;

  • running jobs in the background; and

  • running jobs using nohup.

Technical terms

Cron The system scheduler. Use this for jobs that are frequently run during off-peak hours and/or during different ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required