* You are viewing the archive for July, 2010

Cron: Scheduled tasks in Unix/Linux

What is Cron?
Cron is UNIX/Linux service or daemon to execute scheduled commands.

Generally, crontab uses a daemon, crond, which runs constantly in the background and checks once a minute to see if any of the scheduled jobs need to be executed. If so, it executes them. These jobs are generally referred to as cron jobs.
What is Crontab?
Crontab maintain crontab files for individual users.
Crontab Commands
crontab -e

Edit your crontab file, or create one if it doesn’t already exist.

crontab -l

Display your crontab entries.

crontab -r

Remove your current crontab entry.

crontab -u username -e

This option allows … Continue Reading