On Tuesday 10 April 2007 20:03, Magnus Boman wrote:
Dwain,
On Tue, 2007-04-10 at 19:52 -0500, dwain wrote:
Subject: Re: [opensuse] writing a crontab and don't know where to put it Date: Tuesday 10 April 2007 02:14 From: Magnus Boman
To: opensuse@opensuse.org Yhea, it's good fun to be able to control the OS instead of the OS controlling you :-)
Kind of, but I can't create the cron tab with: crontab -e 27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron
When I did a crontab ls -l it returned no crontab for root. When I do crontab -e it appears to open an editor. I paste the above code it doesn't add the numbers or "*". I also find no way to save the crontab.
You are suppose to type (as root); "crontab -e" (without the quotes), then hit enter. This will start the VI editor with root's crontab. You then press INSERT and then type;
27 4.16 * * * /usr/local/f-prot/tools/check-updates.pl
Then hit enter, hit ESCAPTE, then type;
:wq (then hit ENTER)
Or simply go with the "ln -s" line that I wrote in another email. It'll put them in the system's crontab.
Here's what I got when I input like you said. What am I doing wrong? crontab -e no crontab for root - using an empty one crontab: installing new crontab What does this mean? Do I need to repeat the operation again? Having more fun than a human being should have. Dwain -- Dwain Alford P.O. Box 145 Winfield, Alabama 35594 telephone: 205.487.2570 cellphone: 205.495.5619 "The artist may use any form which his expression demands; for his inner impulse must find suitable expression." Wassily Kandinsky, "Concerning The Spiritual In Art"