[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] cron jobs
- Subject: [ale] cron jobs
- From: david at systemoverlord.com (David Tomaschik)
- Date: Fri, 5 Aug 2011 15:18:48 -0400
- In-reply-to: <CALRLYEkRyE6YVO3ezN=oVw2YqDMCbKzgSErhuqPS743Cz-5djA@mail.gmail.com>
- References: <CALRLYEkRyE6YVO3ezN=oVw2YqDMCbKzgSErhuqPS743Cz-5djA@mail.gmail.com>
On Fri, Aug 5, 2011 at 2:51 PM, Wolf Halton <wolf.halton at gmail.com> wrote:
> I want to do a cron job for otrs user, to check for mail hourly from my mail
> server
> otrs at localhost doesn't have a 'real' home folder, and
> crontab -e saves the file to /tmp
> when I look for my cron job
> crontab -r -u otrs
> it tells me -->
>
> cannot touch '/opt/otrs//.selected_editor': Permission Denied
It's just trying to save the "preferred" editor for the otrs user.
(vim, nano, etc.) This is not an issue (and a message I see often at
work.)
What are you trying to accomplish? crontab -e always saves a file in
/tmp while the file is edited by the user. It is then copied to
/var/spool/cron for the user after they exist the editor.
crontab -r -u otrs would delete any crontab for that user.
--
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
david at systemoverlord.com