Difference between revisions of "Crontab"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
 
[[crontab]] is a configuration file in the /etc folder that tells the cron daemon when to perform what commands. It can look like this:
 
[[crontab]] is a configuration file in the /etc folder that tells the cron daemon when to perform what commands. It can look like this:
 +
# Sample crontab file
 +
 
  */10 * * * * fetchmail -p pop3 -u 612696 -v pop.gmx.net
 
  */10 * * * * fetchmail -p pop3 -u 612696 -v pop.gmx.net
more abstract, every line of crontab consists of values for
+
A line starting with a # is a comment. The other line in this example follows the form
 
  <minute> <hour> <day of month> <month> <day of week> <command>
 
  <minute> <hour> <day of month> <month> <day of week> <command>
  
 
= See also =
 
= See also =
 
* [http://man-wiki.net/index.php/5:crontab crontab's man page]
 
* [http://man-wiki.net/index.php/5:crontab crontab's man page]

Revision as of 05:36, 1 June 2009

crontab is a configuration file in the /etc folder that tells the cron daemon when to perform what commands. It can look like this:

# Sample crontab file

*/10 * * * * fetchmail -p pop3 -u 612696 -v pop.gmx.net

A line starting with a # is a comment. The other line in this example follows the form

<minute> <hour> <day of month> <month> <day of week> <command>

See also