First I installed and ran
emerge cron crontab -e
In another console, I ran
man cron, but this has no examples of how to use
crontab. Where can I get examples, and why are there none in the man page?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
man 5 crontab (which is probably a different page than you got by reading
man crontab likely directed you to a page about the crontab executable rather than the crontab file. The number 5 says to use category 5, "files, file formats, and conventions", rather than the default category (likely category 1, "general commands").
You can see all available sections for a command by using
apropos like so:
$ apropos crontab crontab (1) - maintain crontab files for individual users (Vixie Cron) crontab (5) - tables for driving cron
There are also some examples on the relevant Wikipedia article.