[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SAGE] crontabs vs /etc/cron.[daily,hourly,*] vs. /etc/cron.d/
- To: "Dustin Puryear" <dustin@xxxxxxxxxxxxxx>
- Subject: Re: [SAGE] crontabs vs /etc/cron.[daily,hourly,*] vs. /etc/cron.d/
- From: "Dustin J. Mitchell" <dustin@xxxxxxxxxx>
- Date: Tue, 8 Jan 2008 23:32:43 -0500
- Cc: sage-members@xxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=uxtgL1UnomHoQdXrbIM+zxyqdcJl+1nhcDvka3JdZ0k=; b=dV21e35qi2FtXETIKpKHClGemGjDfT+HJkqhClCErYht5AnjyfN4UH5hjZDp0ik9YynjGiLXgxKdbZ1U8YrKjiB2YFA5JHA6b9SfyhLezZX6pBmsl632kttvwZLU+2H7+bDxiJt6E9jYy8ZZ2z6Ly0TjEQXLxhzeJtbGbPSV9MU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=RR9UvTUu5wtmX9+35ghriJp0mtZWGXVUruX8cP/IvFyBciaU5updahR1BggVESVcD2vuT9X2kD/o8j4HObTI4S1jRGx74rH1ZLjFFy5ONtNvqsrmejMPrOq3WShpsRnJxQUEuXzd7lgr1ZS0JfIL7PY3etBiUJIq8bM9PEH3A70=
- In-reply-to: <4784373D.3040006@xxxxxxxxxxxxxx>
- References: <4784373D.3040006@xxxxxxxxxxxxxx>
- Sender: owner-sage-members@xxxxxxxxxx
On Jan 8, 2008 9:53 PM, Dustin Puryear <dustin@xxxxxxxxxxxxxx> wrote:
> 1. normal use of crontabs
> 2. creating a crontab-like entry in a file in /etc/cron.d/
> 3. creating symlinks to your scripts in /etc/cron.hourly/,
> /etc/cron.daily/, etc. (I'll just say /etc/cron.daily to be short.)
> 4. /etc/crontab for the root user being able to run cron jobs as any
> user, unlike /etc/cron.d/ and /etc/cron.daily/.
I consistently prefer /etc/crontab. When I have a box that's doing
something funny at 2:35am every morning, it's much easier to look in
just one place. It's also easier to make sure that crontasks aren't
stepping on one anothers' toes that way.
The directories are really only useful for distro authors, who need a
flexible way to add and remove tasks for particular applications.
Dustin (the other Dustin)
--
Storage Software Engineer
http://www.zmanda.com