System crontab
keith smith
klsmith2020 at yahoo.com
Sun Aug 1 14:44:27 MST 2010
Thanks!
------------------------
Keith Smith
--- On Sun, 8/1/10, Thomas Cameron <thomas.cameron at camerontech.com> wrote:
From: Thomas Cameron <thomas.cameron at camerontech.com>
Subject: Re: System crontab
To: plug-discuss at lists.plug.phoenix.az.us
Date: Sunday, August 1, 2010, 11:23 AM
On 07/30/2010 12:11 AM, keith smith wrote:
>
> Hi,
>
> I have been setting up a cron job and found out there are two different
> crons. 1) the user cron located at /var/spool/cron/ on my Fedora Box and
> 2) the system crontab located at /etc/crontab .
>
> When I do the crontab -e (if I am recalling correctly) I am editing the
> user crontab.
>
> To edit the system crontab do I just use VI or some other editor?
>
> I would have thought if I were root and issued crontab -e I would have
> been editing the system crontab, however this was not my experience.
>
> Thanks in advance for your insight.
If it's a Red Hat-ish box, use /etc/cron.hourly, /etc/cron.daily,
/etc/cron.weekly and /etc/cron.monthly. Create a script, make it
executable, and copy it into one of those directories.
You should never need to edit /etc/crontab. For individuals (including
root), crontab -e or crontab -r will do what you want.
TC
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100801/10733c53/attachment.html>
More information about the PLUG-discuss
mailing list