JOB SCHEDULING

 

JOB SCHEDULING


Job scheduling is a feature that allows a user to submit a command for execution at a specified time in the future.


How to schedule tasks on linux

  • At

  • Cron

  • Anacron



Difference between cron and anacron





Scheduling jobs with cron


Crontab : Crontab is a text file that specifies the schedule of cron jobs.

  • To add or create a cron job use the following command.

     crontab -e






  • To edit other user,

        crontab -u username -e

  • To view crontab entries for current user,

        crontab -u username -l

  • How to deny users

Open /etc/cron.deny file and add the names that you want to deny.

Comments