1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
$Header: /var/cvsroot/gentoo-x86/sys-apps/cronbase/files/README,v 1.5 2002/05/13 18:34:05 bangert Exp $
22 Apr 2oo2; Thilo Bangert <bangert@gentoo.org>
initial release
The Gentoo Linux Cron README
============================
Subject: New Cron Layout
Date: Mon, 22 Apr 2002 21:35:26 +0200
From: Thilo Bangert <bangert@gentoo.org>
To: gentoo-dev@gentoo.org, gentoo-announce@gentoo.org,
gentoo-user@gentoo.org, gentoo-newbies@gentoo.org
Hi,
I have just unmasked
sys-apps/cronbase-0.01
sys-apps/dcron-2.7-r9
sys-apps/fcron-2.0.0-r1
sys-apps/vcron-3.0.1-r1
Users of
sys-apps/dcron
sys-apps/fcron (or app-admin/fcron )
sys-apps/vcron
should read the following before updating to the new cron layout.
Features
--------
The new cron layout incorporates the following features:
- to be able to use cron, a user must be part of the "cron" group.
- cron spool files are located at /var/spool/cron/ for all cron's
- all crons run /etc/cron.{hourly|daily|weekly|monthly} (fcron and
dcron users see notice below).
- all crons PROVIDE=virtual/cron and future ebuilds will make use of
this. Ebuild developers are encourged to use it where applicable.
- max one cron per system.
- dcron is the Gentoo Linux "default" (ie. dcron gets installed if
something depends on virtual/cron and no cron has been installed
yet).
Upgrade instructions
--------------------
sys-apps/dcron:
NOTE: fcron has been moved from the app-admin category to the
sys-apps category.
to install the new dcron, do
# emerge --pretend sys-apps/dcron
# emerge sys-apps/dcron
NOTE: to make use of /etc/cron.{hourly|daily|weekly|monthly} the root
crontab must include the contents of /etc/crontab.
# crontab /etc/crontab
!! This will REPLACE root's current crontab !!
sys-apps/fcron:
to install the new fcron, do
# emerge --pretend sys-apps/fcron
# emerge sys-apps/fcron
The default location for crontabs for fcron has been changed to
/var/spool/cron/fcrontabs. To make use of previous crontabs, copy
them to the new location. Make sure your new /etc/fcron/fcron.conf
reflects this.
NOTE: to make use of /etc/cron.{hourly|daily|weekly|monthly} the root
crontab must include the contents of /etc/crontab.
# crontab /etc/crontab
!! This will REPLACE root's current crontab !!
NEW: To be able to use cron as a user, the user must be part of the
"cron" group.
sys-apps/vcron:
to install the new vcron, do
# emerge --pretend sys-apps/vcron
# emerge sys-apps/vcron
NEW: To be able to use cron as a user, the user must be part of the
"cron" group.
Although the new layout has been tested, bugs may be present.
Please report them on http://bugs.gentoo.org and assign them
to bangert@gentoo.org.
Thank you.
regards
Thilo Bangert <bangert@gentoo.org>
|