**
The Cron daemon is a service that runs on all main distributions of Unix and Linux. Specifically designed to execute commands at a given time. These jobs are commonly referred as cronjobs and are one of the essential tools that should be present in every Systems Administrator’s tool box.
**
Cronjobs are used for automating tasks or scripts so that they can be executed at specific time.
Edit
Edit crontab:
To open crontab with a preferred editor like nano:
Examples
To Generate a log file
To store the cron output in a file, use the closing bracket (>) again:
That will rewrite the output file every time. If you would like to append the output at the end of the file without a complete rewrite, use a double closing bracket (>>) instead of a single (>):
by Tarun Waghmare
Top comments (0)