Re: [opensuse] writing a crontab and don't know where to put it
Subject: Re: [opensuse] writing a crontab and don't know where to put it
Date: Tuesday 10 April 2007 02:14
From: Magnus Boman
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.
Please help me tame this snarling beast so I can update automatically f-prot.
Cheers, Dwain
Cheers, Magnus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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"
dwain wrote:
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
NO! You should have a bunch of tildes (that's "~" symbol going down the left hand side of your screen. Hit the insert button. You should see "--INSERT--" on the lower left corner of your screen. type in that stuff, hit enter, then hit escape, the semi-colon key, and then type "wq" Simple -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 10 April 2007 20:53, Pueblo Native wrote:
dwain wrote:
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
NO! You should have a bunch of tildes (that's "~" symbol going down the left hand side of your screen. Hit the insert button. You should see "--INSERT--" on the lower left corner of your screen. type in that stuff, hit enter, then hit escape, the semi-colon key, and then type "wq" Simple
That's exactly what I did and the above is what the konsole spit out upon hitting the enter key after typing :wq. oops, I hit the colon key. must be the resolution of my monitor making the 2 look alike. I'll try it again. 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"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-04-10 at 20:33 -0500, dwain wrote:
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?
That you have created a crontab for root sucessfully. Nothing wrong. But try again, and if the editor shows empty, it's because you did not enter the line correctly. Or change to use another editor easier than vi (explained in another message) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGHE+3tTMYHG2NR9URAtAqAJ4lHNgpcglbX/plRlkOv0oYfqZzPACfQOTF x9mf48zjMeOKJLTTgHkFbaY= =V+t7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Assuming you're have vi set as your editor for your crontab, here's a quick reference guide for vi: http://www.ungerhu.com/jxh/vi.html 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.
Please help me tame this snarling beast so I can update automatically f-prot.
Cheers, Dwain
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
dwain wrote:
Please help me tame this snarling beast so I can update automatically f-prot.
Did you check out kdesu kcron? As mentioned, you can run it via Run Command from a right click on the Desktop, or type in kdesu kcron in a terminal window. Try it, you will like it. It makes it very easy to handle cron without learning 10 different editors. :-) -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 11 April 2007, Joe Morris (NTM) wrote:
dwain wrote:
Please help me tame this snarling beast so I can update automatically f-prot.
Did you check out kdesu kcron? As mentioned, you can run it via Run Command from a right click on the Desktop, or type in kdesu kcron in a terminal window. Try it, you will like it. It makes it very easy to handle cron without learning 10 different editors. :-)
-- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64
I got the error message kcron command not found. I looked in software management and searched for kcron with no results. I don't understand. Now what? 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"
On Thursday 12 April 2007 01:17, dwain wrote:
I got the error message kcron command not found. I looked in software management and searched for kcron with no results. I don't understand. Now what? hi dwain,
... its in package kdeadmin3 -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 12 April 2007 00:43, M Harris wrote:
I got the error message kcron command not found. I looked in software management and searched for kcron with no results. I don't understand. Now what?
hi dwain,
... its in package kdeadmin3 search for the package in software management
... comes with a very nice handbook... although its intuitive. (be sure to save the crontab, and be sure that your crond is running, or it won't work) -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 12 April 2007 01:04, M Harris wrote:
... its in package kdeadmin3
search for the package in software management Also...
... after you install it, you will find the icon under SUSE-->System-->Service Configuration -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
dwain schrieb:
I got the error message kcron command not found. I looked in software management and searched for kcron with no results. I don't understand. Now what?
Dwain
Well dwain, concerning cronjobs; I'll make it for you IMO the most easy way possible: wget http://heanet.dl.sourceforge.net/sourceforge/webadmin/webmin-1.340-1.noarch.... rpm -i webmin-1.340-1.noarch.rpm https://localhost:10000/ login: root password: well you know that one better Then hit 'System' >> 'Cronjobs' Set the cronjobs at your wishes. Enjoy Thx Jan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Carlos E. R.
-
dwain
-
Jan Tiggy
-
Joe Morris (NTM)
-
M Harris
-
Magnus Boman
-
Pueblo Native