What Is Linux Job Scheduling?
Contents

Job scheduling is a feature that allows a user to submit a command or program for execution at a specified time in the future. On a Linux server, it is important that certain tasks run at certain times The execution of the command or program could be one time or periodically based on a pre-determined time schedule.

How scheduling works in Linux?

A scheduler chooses the next task to be run, and maintains the order, which all the processes on the system should be run in, as well. In the same way as most operating systems out there, Linux implements preemptive multitasking. … The amount of time a process gets to run is called timeslice of a process.

How do I see scheduled jobs in Linux?

  1. Cron is a Linux utility for scheduling scripts and commands. …
  2. To list all scheduled cron jobs for the current user, enter: crontab –l. …
  3. To list hourly cron jobs enter the following in the terminal window: ls –la /etc/cron.hourly. …
  4. To list daily cron jobs, enter the command: ls –la /etc/cron.daily.

14 авг. 2019 г.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest