mtitek
  • Cloud
  • Big Data
  • CI
  • Install
  • Samples
  • Java
  • Ubuntu
  • Maven
  • Archive
Linux-Ubuntu | crontab
  1. Notes
  2. Examples
  3. Command Help (man crontab)

  1. Notes
    The crontab command is used to manage a list of commands that have to be run on a specific schedule.
    Each user can have his own crontab.

    If the file "/usr/lib/cron/cron.allow" exists, then the user name must be listed therein, otherwise the user will not be allowed to use the crontab command.

    If the file "/usr/lib/cron/cron.deny" exists, then the user name must not be listed therein, otherwise the user will not be allowed to use the crontab command.
  2. Examples
    • Manage the crontab of the current user.

      Save and exit. You will see the following messages in the standard output:
      You can check if the crontab is installed:
      You can list the crontab of all users:
      You can check the crontab excution:
    • Manage the crontab of another user.

      # save and exit. You will see the following messages in the standard output:
      You can check if the crontab is installed:
  3. Command Help (man crontab)
    • The following options can be used:

    • Add crontab entries.
      Each entry in the crontab may have the following syntax "min hour day month day_of_week" where:

    • You can also use the following patterns to match a value of the schedule:
© 2020  mtitek