Re: [opensuse] crontab
- From: Bob Williams <linux@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Aug 2010 09:51:45 +0100
On Tuesday 17 Aug 2010 23:59:21 dwgallien wrote:
On Tuesday 17 Aug 2010 18:32:26 dwgallien wrote:
Hi,
What is the correct way to edit the system crontab file? I know I've
done it in the past, because I have /etc/crontab which contains all
my backup routines. Is it permissible to edit it with any editor
(eg. vim, kate), as root?
I've tried issuing
~ # crontab -e
but that just creates a new, blank file.
I think I'm getting too old for this :(
Bob
IIRC (been a very long time) it can be edited manually. However, since
you are using KDE, take a look at Personal Settings/Advanced/Task
Schedule; that will create the crontab for you.
That only lets me edit my personal crontab. I want to edit the system
crontab, as I have some tasks that have to run as root. I'll try editing
it manually and see what happens :)
Thanks.
Bob
Check that again. There should be a radio button for "system cron".
Using this option requires running as root.
And that's what I don't want to do - log into a graphical environment as root
just to be able to edit a small text file. I'm looking for a CLI solution, and
Brian's replies have given me that.
Bob
--
Registered Linux User #463880 FSFE Member #1300
GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E
openSUSE 11.3, Kernel 2.6.34.12-desktop, KDE 4.4.4
Intel Core2 Quad Q9400 2.66GHz, 8GB DDR RAM, nVidia GeForce 9600GT
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] crontab
- From: Brian K. White
- Re: [opensuse] crontab
- References:
- [opensuse] crontab
- From: Bob Williams
- Re: [opensuse] crontab
- From: Bob Williams
- Re: [opensuse] crontab
- From: dwgallien
- [opensuse] crontab
- Prev by Date: Re: [opensuse] Kaddressbook
- Next by Date: Re: [opensuse] 11.3 and very slow nvidia performance
- Previous by thread: Re: [opensuse] crontab
- Next by thread: Re: [opensuse] crontab
- Index(es):
Relevant Pages
|