terminal.cab

All commands

crontab

Topic: System and services

Program: crontab

Manages the crontab, a user's schedule.

Package: cron

Usage

crontab [-u LOGIN] FILE | [-u LOGIN] -l | [-u LOGIN] -r

Description

Install FILE (- for standard input) as your crontab after checking each line, show it with -l, delete it with -r. The jobs do not run in the simulator.

Options in the simulator

4 more options of the real program, not in the simulator yet
  • -n not in the simulator yet

    The simulator cannot do this crontab option yet.

  • -i not in the simulator yet

    The simulator cannot do this crontab option yet.

  • -e not in the simulator yet

    Editing in an editor comes with the Vim path (package editor); until then: crontab -l > file, change the file, crontab file.

  • -h not in the simulator yet

    Explanation to come

Examples

From the lesson Schedules, logs and packages
crontab -l
*/15 * * * * /home/lerner/bin/check-disk.sh

Try it in the terminal

Where you learn it

Lessons

All commands