pavement

Cron

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by 129.49.109.182 (Talk); changed back to last version by Jimbo)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
While [[at]] is for scheduling a single task to run one time, [[cron]] is meant to set up a repetitive schedule. The configuration file is [[crontab]], usually found in /etc/crontab although it can also search through /var/cron/tabs.
+
While [[at]] is for scheduling a single task to run one time, [[cron]] is meant to set up a repetitive schedule. The configuration files for [[cron]] are known as tabs.  The systemwide cron tab may be found in /etc/crontab, while each of the user cron tabs are found in /var/cron/tabs.
  
[Category:FreeBSD Terminology]
+
Cron tabs should not be edited directly, but instead should be manipulated using the [[crontab]] utility.  Note that the [[crontab]] utility fires up whatever editor is specified in the EDITOR environment variable, so if you aren't fond of [[vi]] you would be well advised to make sure to set EDITOR to ee or nano or whatever else you're comfortable with before firing it up.
 +
 
 +
[[Category:FreeBSD Terminology]]

Latest revision as of 08:54, 27 October 2007

While at is for scheduling a single task to run one time, cron is meant to set up a repetitive schedule. The configuration files for cron are known as tabs. The systemwide cron tab may be found in /etc/crontab, while each of the user cron tabs are found in /var/cron/tabs.

Cron tabs should not be edited directly, but instead should be manipulated using the crontab utility. Note that the crontab utility fires up whatever editor is specified in the EDITOR environment variable, so if you aren't fond of vi you would be well advised to make sure to set EDITOR to ee or nano or whatever else you're comfortable with before firing it up.

Personal tools