commands

crontab — Inspect or edit user schedules

-l lists the current user table; -e edits it; FILE replaces it. An absent table may return nonzero. Never replace an existing table with a sample. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
crontab [-l | -e | FILE]

Parameters & Attributes

NameTypeDescription
-loptionList current user table
-eoptionEdit current user table
FILEoperandReplacement table

Return Value

exit status and output

-l lists the current user table; -e edits it; FILE replaces it. An absent table may return nonzero. Never replace an existing table with a sample.

Working Example

Example Snippetlinux
crontab -l
Linux Reference