source: trunk/minix/man/man1/crontab.1@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 2.1 KB
Line 
1.TH CRONTAB 1
2.SH NAME
3crontab \- User crontab manipulation
4.SH SYNOPSIS
5.B crontab \-c
6.RI [ user ]
7.I file
8.br
9.B crontab \-l
10.RI [ user ]
11.br
12.B crontab \-r
13.RI [ user ]
14.br
15.B crontab \-p
16.SH DESCRIPTION
17The
18.B crontab
19program allows users to manipulate their personal crontab files. These
20files are hidden in
21.BI /usr/spool/crontabs/ user
22where
23.I user
24is the login name of a given user. The system daemon
25.B cron
26uses these crontabs, among others, to run tasks that are to be repeated at
27regular intervals. See
28.BR crontab (5)
29on what a good crontab file should look like.
30.PP
31Only the superuser can specify a user name to manipulate the crontab of a
32given user. Any other user can only touch their own crontab file.
33.SH OPTIONS
34.TP
35\fB\-c\fR [\fIuser\fR] \fIfile\fR
36Install
37.I file
38as the crontab file of
39.IR user .
40.TP
41\fB\-l\fR [\fIuser\fR]
42List the crontab file of
43.I user
44to standard output.
45.TP
46\fB\-r\fR [\fIuser\fR]
47Remove the crontab file of
48.IR user .
49.TP
50\fB\-p\fR
51Tell cron to reload its tables. Useful for system administrators to signal
52a change to any of the system crontab files. Changes made by the
53.B crontab
54program are signalled automatically. (Mnemonic: \-p = "ping".)
55.SH FILES
56.TP \w'/usr/spool/crontabs/user'u+5n
57.BI /usr/spool/crontabs/ user
58Per user personal crontab file.
59.SH "SEE ALSO"
60.BR crontab (5),
61.BR cron (8).
62.SH DIAGNOSTICS
63.B Crontab
64preparses a new crontab and only installs it if correct. All errors are
65sent to standard error, messages about installing a new table and telling
66.B cron
67to reload are sent to standard output.
68.SH BUGS
69.B Crontab
70misses a
71.B \-e
72option that other implementations of this command allow one to edit the
73current crontab and install the result. Seems quite handy until you try to
74install a new crontab from an automated script. That's why this command
75has a
76.B \-c
77option that installs a prepared crontab file. Use
78.PP
79.RS
80.nf
81crontab \-l >/tmp/tab
82${EDITOR\-vi} /tmp/tab
83crontab \-c /tmp/tab
84.fi
85.RE
86.PP
87to get the same effect as
88.BR "crontab \-e" .
89.SH AUTHOR
90Kees J. Bot (kjb@cs.vu.nl)
91
92.\"
93.\" $PchId: crontab.1,v 1.3 2000/07/17 18:51:04 philip Exp $
Note: See TracBrowser for help on using the repository browser.