can anyone have basic idea of crontab in Linux?

LINUX

  • Raushan
  • 14 जुलाई
  • 3 उत्तर

3 उत्तर
1-3 of  3
3 उत्तर
  • Cron is an application that executes planned tasks at a defined time on Linux systems. The "crontab" (Cron Table) is a configuration file where these tasks can be added.
    By working with a cron job (or scheduled task) you can execute recurring commands behind the scene's through the cron service, for example erasing cache folders, launching a backup script, synchronisation of files.
    you better use commands such as
    Modifying a crontab: crontab -e Displaying a crontab: crontab -l Removing all crontab entries: crontab -r this will definately help you in understanding crontab
    0

  • The crontab is a list of commands that you want to run on a regular schedule, and also the name of the command used to manage that list. crontab stands for "cron table," because it uses the job scheduler cron to execute task. cron is the system process which will automatically perform tasks for you according to a set schedule. The schedule is called the crontab, which is also the name of the program used to edit that schedule. Technical Description crontab is the program used to edit, remove or list the tables used to drive the cron daemon. Each user can have their own crontab. Although these files are located in/var/spool/, they are not intended to be edited directly, and that's where the crontab command comes in. cron jobs can be allowed or disallowed for individual users, as specified in the files cron.allow and cron.deny, located in the directory /etc. If the cron.allow file exists, a user must be listed there in order to be allowed to use a given command. If the cron.allow file does not exist but the cron.deny file does, then a user must not be listed there in order to use a given command. If neither of these files exists, only the superuser will be allowed to use a given command. Another option is using PAM (pluggable authentication module) aunthentication to set up users who may or may not use crontab and system cron jobs, as configured in /etc/cron.d/.
    0

  • Yaa i know .. I help you in explaining about this .

    The crontab is a list of commands that you want to run on a regular schedule, and also the name of the command used to manage that list.
    crontab stands for "cron table," because it uses the job scheduler Cron to execute tasks; cron itself is named after "chronos," the Greek word for time.
    cron is the system process which will automatically perform tasks for you according to a set schedule. The schedule is called the crontab, which is also the name of the program used to edit that schedule.
    Let's say you have a script which backs up important files, or creates a report about system statistics, for example. Let's say the script is called/home/myname/scripts/do-every-day.sh, and you want to run it every morning at 5 A.M.
    To edit the crontab, use this command:
    crontab -e
    0

yahoo
मॉक परीक्षण अभ्यास के लिए
yahoo