[newbie] cron syntax question ?

2005-03-31 Thread RickSisler
Hi All, I have a bash script to generate a ~/.signature file that gets added to outgoing emails, as many do. I want it to run every 2 hours, but this runs it every minute, for some reason. I checked the man page for crontab(5) and it states to do it this way. Heres what I used: * 0-23/2 * * *

Re: [newbie] cron syntax question ?

2005-03-31 Thread frengoGorgia
Il ven, 2005-04-01 alle 02:19, RickSisler ha scritto: Hi All, I have a bash script to generate a ~/.signature file that gets added to outgoing emails, as many do. I want it to run every 2 hours, but this runs it every minute, for some reason. I checked the man page for crontab(5) and it

Re: [newbie] cron syntax question ?

2005-03-31 Thread RickSisler
frengoGorgia ([EMAIL PROTECTED]) wrote: Il ven, 2005-04-01 alle 02:19, RickSisler ha scritto: [.snip.] * 0-23/2 * * * /home/ricks/bin/sigfile /home/ricks/.signature seems to run the command every minute (the first *) you should put at least a minute of the hour (choose one below) 0

Re: [newbie] cron job question

2004-11-26 Thread Derek Jennings
On Friday 26 November 2004 20:41, Chris wrote: A little background first. I have a couple of cronjobs setup, one which shutsdown and restarts spamd ever 4hrs. When this happens I get an email telling me it was done. Yesterday I was fooling around with fetchmail to see if I could speed up

[newbie] cron job question

2004-11-26 Thread Chris
A little background first. I have a couple of cronjobs setup, one which shutsdown and restarts spamd ever 4hrs. When this happens I get an email telling me it was done. Yesterday I was fooling around with fetchmail to see if I could speed up the process of having mail processed by

Re: [newbie] cron job question

2004-11-26 Thread Chris
On Friday 26 November 2004 03:51 pm, Derek Jennings wrote: Question: How can I send these outputs to /var/spool/mail/chris instead of through my isp? In /etc/crontab use MAILTO=chris instead of [EMAIL PROTECTED] derek Thanks Derek, after I sent the msg I did some more googling and

Re: [newbie] Cron doesn't run for user

2004-08-06 Thread German Guillot
On Thu, 5 Aug 2004 18:33:41 -0400, Bill Shirley [EMAIL PROTECTED] wrote: Did you see this post? I'm not convinced you are exporting the DISPLAY variable. Can you post your script? Yeah, I saw it. Sorry I didn't reply at the time, I was busy trying out all sorts of things and a bit

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Wed, 4 Aug 2004 17:57:55 -0400, Bill Shirley [EMAIL PROTECTED] wrote: Try putting in the script: DISPLAY=:0.0 at the top after #!/bin/sh Thanks for the suggestion. It desn't work, though, unfortunately. Germán. Want to buy your Pack

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Wed, 04 Aug 2004 20:14:21 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: Or you script can start something like: #!/bin/bash # PATH=/bin;/usr/bin;/home/ger/bin Another way you can do it is to define variables for all your commands at the start of the script, and then use the

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Wed, 04 Aug 2004 20:22:44 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: Bill Shirley wrote: Try putting in the script: DISPLAY=:0.0 at the top after #!/bin/sh HTH, Bill This only works if you are running the X server. If another user is running X, you will not be

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Thu, 5 Aug 2004 09:18:36 -0500, Hoyt Bailey [EMAIL PROTECTED] wrote: You might try: '/usr/bin/galeon weather.com' (or whatever site you want) Yeah, tried that too. I think I've tried everything short of changing security settings in the X server, but I'm not going down that route. Anyway,

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Stephen Kühn
On Fri, 2004-08-06 at 00:54, German Guillot wrote: On Thu, 5 Aug 2004 09:18:36 -0500, Hoyt Bailey [EMAIL PROTECTED] wrote: You might try: '/usr/bin/galeon weather.com' (or whatever site you want) Yeah, tried that too. I think I've tried everything short of changing security settings in

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Fri, 06 Aug 2004 01:06:05 +1000, Stephen Kühn [EMAIL PROTECTED] wrote: Maybe I walked in late in the thread here - but I'm trying to NOW figure out what y'all tryin to do - is it that you want cron to open a browser for you for a specific URL and that's all? Yep, that's it. I'm starting to

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Stephen Kühn
On Fri, 2004-08-06 at 01:20, German Guillot wrote: On Fri, 06 Aug 2004 01:06:05 +1000, Stephen Kühn [EMAIL PROTECTED] wrote: Maybe I walked in late in the thread here - but I'm trying to NOW figure out what y'all tryin to do - is it that you want cron to open a browser for you for a

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Mikkel L. Ellertson
German Guillot wrote: On Wed, 04 Aug 2004 20:22:44 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: Bill Shirley wrote: Try putting in the script: DISPLAY=:0.0 at the top after #!/bin/sh HTH, Bill This only works if you are running the X server. If another user is running X, you

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Mikkel L. Ellertson
Bill Shirley wrote: [EMAIL PROTECTED] tmp]# cat testg #!/bin/sh export DISPLAY=:0.0 echo $DISPLAY /usr/bin/galeon #/usr/bin/mozilla Works for me! Bill Are you running X as the same user? If user bill logs in to the DM, or runs startx, user joe can not connect to the X server without a LOT

RE: [newbie] Cron doesn't run for user

2004-08-05 Thread Bill Shirley
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of German Guillot Sent: Thursday, August 05, 2004 9:29 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Cron doesn't run for user On Thu, 5 Aug 2004 08:29:16 -0400, Bill Shirley [EMAIL PROTECTED] wrote

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Fri, 06 Aug 2004 01:42:10 +1000, Stephen Kühn [EMAIL PROTECTED] wrote: Ok...just for giggles and grins, I just created a small script to fire up Galeon (/home/stephen/bin/start_galeon) :: snip #!/bin/bash /usr/bin/galeon http://freshmeat.net exit /snip Fired up kcron as

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Mikkel L. Ellertson
Bill Shirley wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of German Guillot Sent: Thursday, August 05, 2004 9:29 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Cron doesn't run for user On Thu, 5 Aug 2004 08:29:16 -0400, Bill Shirley [EMAIL

RE: [newbie] Cron doesn't run for user

2004-08-05 Thread Bill Shirley
: [newbie] Cron doesn't run for user On Fri, 06 Aug 2004 01:42:10 +1000, Stephen Kühn [EMAIL PROTECTED] wrote: Ok...just for giggles and grins, I just created a small script to fire up Galeon (/home/stephen/bin/start_galeon) :: snip #!/bin/bash /usr/bin/galeon http://freshmeat.net

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Thu, 05 Aug 2004 10:47:57 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: The display manager will be running as root. But when a suer logs in, it turns ownership over th the user. If you use run level 3, then the user owns the X server from the start. You can also do things like

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Stephen Kühn
On Fri, 2004-08-06 at 02:12, German Guillot wrote: Well, damnit. No, you're not missing anything, but I obviously am. I have a little script just like yours. I create a crontab with a task for it. It just doesn't work. Other scripts with other commands (cat, for example) are run by cron from

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Mikkel L. Ellertson
German Guillot wrote: I'll check out xauth, though it seems a bit of overkill to have two X servers running, just for this little toy. It'll teach me something new, though. I changed my run level to 3 and logged in again. I see that I own a process called xinit, but top shows me that X is run by

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Fri, 06 Aug 2004 03:25:10 +1000, Stephen Kühn [EMAIL PROTECTED] wrote: Now I'm led to wonder, are you using kcron to setup the cron job - and is the user YOU or root or system? I'm not using kcron - I don't even have it. In my home dir I have a text file called, appropriately (or

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread German Guillot
On Thu, 05 Aug 2004 12:58:40 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: As you say, running two X servers is overkill for what you want. I am trying to remember something - there is a dummy X server package, or something like that, for faking an X server. It may be part of the VNC

Re: [newbie] Cron doesn't run for user

2004-08-05 Thread Stephen Kühn
On Fri, 2004-08-06 at 05:47, German Guillot wrote: On Fri, 06 Aug 2004 03:25:10 +1000, Stephen Kühn [EMAIL PROTECTED] wrote: Now I'm led to wonder, are you using kcron to setup the cron job - and is the user YOU or root or system? I'm not using kcron - I don't even have it. In my home

[newbie] Cron doesn't run for user

2004-08-04 Thread German Guillot
Hello All, I'm on mdk 10 OE. I've put a little bash script in /home/ger/bin/, added that directory to my path, created a crontab for myself with crontab (it's now /var/spool/cron/ger), added my whole $PATH to it, created /etc/cron.allow and even /var/spool/cron/cron.allow with my user name in it,

Re: [newbie] Cron doesn't run for user

2004-08-04 Thread Mikkel L. Ellertson
German Guillot wrote: Hello All, I'm on mdk 10 OE. I've put a little bash script in /home/ger/bin/, added that directory to my path, created a crontab for myself with crontab (it's now /var/spool/cron/ger), added my whole $PATH to it, created /etc/cron.allow and even /var/spool/cron/cron.allow

RE: [newbie] Cron doesn't run for user

2004-08-04 Thread Tony S. Sykes
Have you got your scripts path explicit in the crontab? Tony. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of German Guillot Sent: Wednesday, August 04, 2004 4:02 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Cron doesn't run for user On Wed, 4

Re: [newbie] Cron doesn't run for user

2004-08-04 Thread German Guillot
On Wed, 04 Aug 2004 11:34:36 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: You might want to try adding a PATH=whatever your path is before the first command in the script. Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work PATH=/bin:/usr/bin:/usr/bin/X11: etc, the

Re: [newbie] Cron doesn't run for user

2004-08-04 Thread Mikkel L. Ellertson
German Guillot wrote: On Wed, 04 Aug 2004 11:34:36 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: You might want to try adding a PATH=whatever your path is before the first command in the script. Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work

Re: [newbie] Cron doesn't run for user

2004-08-04 Thread German Guillot
On Wed, 04 Aug 2004 15:07:43 -0500, Mikkel L. Ellertson [EMAIL PROTECTED] wrote: Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work PATH=/bin:/usr/bin:/usr/bin/X11: etc, the whole bash environment variable. Did you add the full path in the script, or in the crontab

RE: [newbie] Cron doesn't run for user

2004-08-04 Thread Bill Shirley
Try putting in the script: DISPLAY=:0.0 at the top after #!/bin/sh HTH, Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of German Guillot Sent: Wednesday, August 04, 2004 4:43 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Cron doesn't run

Re: [newbie] Cron doesn't run for user

2004-08-04 Thread Mikkel L. Ellertson
German Guillot wrote: I find specifing the path the script expects in the script itself cuts way down on problems, especialy if you later change your path from what it was when you wrote the script. You can usualy depend on /bin;/usr/sbin, but anything else depends on how the script is being

Re: [newbie] Cron doesn't run for user

2004-08-04 Thread Mikkel L. Ellertson
Bill Shirley wrote: Try putting in the script: DISPLAY=:0.0 at the top after #!/bin/sh HTH, Bill This only works if you are running the X server. If another user is running X, you will not be able to connect to the X server, unless you turn off security. It also fails if you are not

Re: [newbie] Cron

2004-01-31 Thread Dan Gordon
On Sat, 31 Jan 2004 17:59:20 -0800 (PST) Job Evers wrote: Argh. Why doth my cron not work like I want it to? I have the following set up as an alarm to go off at 630 AM. The .alarm script works when I run it from the command line. $ more .alarm: #!/bin/sh xmms

Re: [newbie] Cron

2003-11-28 Thread Derek Jennings
On Friday 28 Nov 2003 1:41 am, Trevor Rhodes wrote: Hello, Can someone tell me where Cron from MCC went? I need it back. Thanks As I understand it. It was taken out because it did not work properly. Try webmin instead. It does all that drakcron did and lots more. Install webmin RPM then

[newbie] Cron

2003-11-27 Thread Trevor Rhodes
Hello, Can someone tell me where Cron from MCC went? I need it back. Thanks Regards Trevor Rhodes === Powered by Linux- Mandrake 9.1 Registered Linux user # 290542 at http://counter.li.org Registered Machine #'s 186951

Re: [newbie] cron error

2003-10-07 Thread L.V.Gandhi
On Wednesday 01 Oct 2003 3:04 pm, Derek Jennings wrote: On Wednesday 01 Oct 2003 1:13 am, L.V.Gandhi wrote: I get following error. Sep 30 05:29:02 lvghomepc anacron[1507]: Job `cron.daily' started Sep 30 05:29:02 lvghomepc anacron[1770]: Updated timestamp for job `cron.daily' to

Re: [newbie] cron error

2003-10-01 Thread Raffaele Belardi
I don't know about the cron error, but regarding the mail output, man cron says: When executing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if such exists). Naturally, there must be a mailer deamon running

Re: [newbie] cron error

2003-10-01 Thread Derek Jennings
On Wednesday 01 Oct 2003 1:13 am, L.V.Gandhi wrote: I get following error. Sep 30 05:29:02 lvghomepc anacron[1507]: Job `cron.daily' started Sep 30 05:29:02 lvghomepc anacron[1770]: Updated timestamp for job `cron.daily' to 2003-09-30 Sep 30 05:29:51 lvghomepc anacron[1507]: Job `cron.daily'

[newbie] cron error

2003-09-30 Thread L.V.Gandhi
I get following error. Sep 30 05:29:02 lvghomepc anacron[1507]: Job `cron.daily' started Sep 30 05:29:02 lvghomepc anacron[1770]: Updated timestamp for job `cron.daily' to 2003-09-30 Sep 30 05:29:51 lvghomepc anacron[1507]: Job `cron.daily' terminated (exit status: 1) (mailing output) Oct

Re: [newbie] cron smbtar

2002-12-25 Thread Stephen Kuhn
On Wed, 2002-12-25 at 21:57, Colin Jenkins wrote: Hi all, The script below works ok from the command line but when I run it as a cron job, it starts ok, but stops after backing up a few directories. Any ideas what I'm doing wrong? is it a bug with cron? btw, I'm using mdk9 #!/bin/sh

Re: [newbie] cron problem

2002-12-10 Thread Derek Jennings
On Saturday 07 Dec 2002 2:10 am, L.V.Gandhi wrote: I have the following /etc/crontab [root@localhost lvgandhi]# cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root nice -n 19 run-parts /etc/cron.hourly 02 4 * * * root nice -n

[newbie] cron problem

2002-12-09 Thread L.V.Gandhi
I have the following /etc/crontab [root@localhost lvgandhi]# cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root nice -n 19 run-parts /etc/cron.hourly 02 4 * * * root nice -n 19 run-parts /etc/cron.daily 22 4 * * 0 root nice -n 19

Re: [newbie] cron

2002-11-15 Thread Stephen Kuhn
On Fri, 2002-11-15 at 17:19, Colin Jenkins wrote: Hi all, I have asked this question a few times before with no reply, so I thought I'd try once more before I give up. I have a very simple script to back up the user directory on an nt server. The directory is mounted on my lm9.0 box (samba)

[newbie] cron

2002-11-14 Thread Colin Jenkins
Hi all, I have asked this question a few times before with no reply, so I thought I'd try once more before I give up. I have a very simple script to back up the user directory on an nt server. The directory is mounted on my lm9.0 box (samba) and is backed up to a dat tape. If I run the script from

Re: [newbie] cron is broken?

2002-11-11 Thread Stephen Kuhn
On Mon, 2002-11-11 at 16:51, Ibly Piblo wrote: I can't set up a cron job, either cron or webmin is broken. I try to make it play an mp3 file, with the command mpg123 -b 3000 /home/ipiblo/music.mp3 and all it can do is tell me the home environment variable is not set? How useless. It

[newbie] cron is broken?

2002-11-10 Thread Ibly Piblo
I can't set up a cron job, either cron or webmin is broken. I try to make it play an mp3 file, with the command mpg123 -b 3000 /home/ipiblo/music.mp3 and all it can do is tell me the home environment variable is not set? How useless. It always worked back in 8.2, I don't understand why its

Re: [newbie] cron or anacron

2002-08-20 Thread Ross Pearson
Yes, this is what anacron does with all the jobs in /etc/crontab but I can't seem to make it look for missed jobs in individual user's crontabs. Is it possible to do this? Ross AFAIK Anacron will pick and run any jobs that have not been executed by cron in time. So when you set up the FTP

[newbie] cron or anacron

2002-08-19 Thread Ross Pearson
Does anyone know if its possible to have anacron run tasks for individual users, in a similar way to how each user can be allowed their own crontab? I have a script that involves an ftp operation and must access .netrc in the users home directory, so it seems that it can only be run by that

Re: [newbie] cron or anacron

2002-08-19 Thread Paul
In reply to Ross's mail, d.d. Mon, 19 Aug 2002 22:27:21 +0100: AFAIK Anacron will pick and run any jobs that have not been executed by cron in time. So when you set up the FTP in the user crontab and the machine is down, anacron will perform the task after booting the machine. That is what

[newbie] cron/anacron job

2002-07-28 Thread Mark Curry
Hi, I have written a script which I want cron to run and anacron. Although I know the script works okay from a bash prompt Anacron tells me: run-parts: component /var/spool/cron/mark is not an executable plain file' I created the job using crontab -e, which installs crontab after editing and

Re: [newbie] cron job

2002-05-19 Thread daRcmaTTeR
I have the following entry in my crontab to run every morning: 05 03 * * * tar -czf /backup/`date +%a`_www_backup.tar.gz /www But it's apparently _not_ doing it. However * Crond is running. * Other entries in the crontab are being performed. * Running the command manually works fine:

[newbie] cron job

2002-05-17 Thread Miark
I have the following entry in my crontab to run every morning: 05 03 * * * tar -czf /backup/`date +%a`_www_backup.tar.gz /www But it's apparently _not_ doing it. However * Crond is running. * Other entries in the crontab are being performed. * Running the command manually works fine: tar

RE: [newbie] Cron

2002-01-30 Thread Franki
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Anke Max Sent: Saturday, 26 January 2002 9:19 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Cron snip Gidday Derek and everyone else I've been using webmin from a Mac and I can't for the life of me, get it to accept

Re: [newbie] Cron

2002-01-26 Thread Anke Max
snip Gidday Derek and everyone else I've been using webmin from a Mac and I can't for the life of me, get it to accept the certificate It asks again and again if I want to continue and I can't find anywhere to turn it off. You wouldn't know of a cure would you? TIA max well I'm

Re: [newbie] Cron

2002-01-25 Thread Anke Max
Derek said on Thursday, January 24 A nice way to administer cron jobs is with webmin Just install the webmin package and put https://localhost.1 in a browser URL line. You will get a warning message about a self certified certificate the first time you run it. Just accept it. Note

Re: [newbie] Cron

2002-01-25 Thread Derek Jennings
On Friday 25 January 2002 13:02, Anke Max wrote: Derek said on Thursday, January 24 A nice way to administer cron jobs is with webmin Just install the webmin package and put https://localhost.1 in a browser URL line. By the way: This was a type. It should read

Re: [newbie] Cron

2002-01-24 Thread Miark
Thanks, Mario. I had the varibale set in .bashrc, but I was missing the export. Now it works like a charm! Miark - Original Message - From: Mario Michael da Costa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 12:12 AM Subject: Re: [newbie] Cron Miark

Re: [newbie] Cron

2002-01-24 Thread Mario Michael da Costa
Miark wrote: Thanks, Mario. I had the varibale set in .bashrc, but I was missing the export. Now it works like a charm! Miark Hello Miark, You're welcome. for those who use a c-shell instead of a bash, the commnad would be setenv instead of export, without the = sign. Thank You,

[newbie] Cron

2002-01-23 Thread Jesse Angell
I have a script that I need to add for cron to run once a week.. how do i tell cron to run them? i have no idea where the cron configs are mandrake 8.1 Jesse angell

Re: [newbie] Cron

2002-01-23 Thread Miark
I have a script that I need to add for cron to run once a week. How do i tell cron to run them? i have no idea where the cron configs are mandrake 8.1 Jesse angell Jesse, 1) In your home directory, or somewhere abouts, make a file called mycronjobs or something similar that will easily

Re: [newbie] Cron

2002-01-23 Thread Paul
On Wed, 23 Jan 2002 22:43:30 -0700 Miark wrote: Wouldn't crontab -e be much easier? This edits your personal crontab and after saving it, cron will pick up the revised version and run that. This way cron will also pick it up after a reboot. Btw, crontab -l will list the current cron jobs you

Re: [newbie] Cron

2002-01-23 Thread Miark
Wouldn't crontab -e be much easier? This edits your personal crontab and after saving it, cron will pick up the revised version and run that. This way cron will also pick it up after a reboot. Btw, crontab -l will list the current cron jobs you have set up. It probably would if the

Re: [newbie] Cron

2002-01-23 Thread Mario Michael da Costa
Miark wrote: Wouldn't crontab -e be much easier? This edits your personal crontab and after saving it, cron will pick up the revised version and run that. This way cron will also pick it up after a reboot. Btw, crontab -l will list the current cron jobs you have set up. It

RE: [newbie] cron

2002-01-10 Thread Franki
it terribly handy. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ed Kasky Sent: Friday, 11 January 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] cron One can also change their EDITOR env setting to pico should one be so inclined

Re: [newbie] cron

2002-01-10 Thread Ed Kasky
One can also change their EDITOR env setting to pico should one be so inclined... Ed At 11:38 AM 1/10/2002, Real Name wrote: or just enter crontab -e from any prompt and make your edits in VI Dan B On Thu, 10 Jan 2002 10:20:27 -0500 sda [EMAIL PROTECTED] wrote: On Wed, Jan 09, 2002 at

Re: [newbie] cron

2002-01-09 Thread Mark D'voo
On Thursday 10 January 2002 08:17 am, you wrote: On Wednesday 09 January 2002 06:24 am, Mark D'voo wrote: I have a bash script that I want run every hour as my regular user, how do I setup cron to do this? mark easiest put the script in the /etc/cron.hourly directory. hmm, i put it

Re: [newbie] cron message

2002-01-02 Thread Hal Wigoda
I think that the job is trying to display and recevive info from the screen and it can't as you are running the job as a script. This is a multi-part message in MIME format... =_1009904480-11608-2751 Content-Type: text/plain; charset=US-ASCII

[newbie] cron message

2002-01-01 Thread caspar kennerdale
I have set up a cron job and this is the message i have received Your terminal lacks the ability to clear the screen or position the cursor. how vcan i solve this prob? thanks in advance Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: [newbie] Cron ???

2001-12-24 Thread quaylar
At 14:12 24.12.2001 +0800, you wrote: [root@smtp /root]# cat /var/spool/cron/root # DO NOT EDIT THIS FILE - edit the master and reinstall. did u see this line ? *g* # (/tmp/crontab.8868 installed on Mon Dec 24 10:11:33 2001) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie

Re: [newbie] Cron ???

2001-12-24 Thread Sridhar Dhanapalan
On Mon, 24 Dec 2001 14:12:32 +0800, SKLIM [EMAIL PROTECTED] wrote: [root@smtp /root]# cat /var/spool/cron/root # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.8868 installed on Mon Dec 24 10:11:33 2001) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37

[newbie] Cron ???

2001-12-23 Thread SKLIM
[root@smtp /root]# cat /var/spool/cron/root# DO NOT EDIT THIS FILE - edit the master and reinstall.# (/tmp/crontab.8868 installed on Mon Dec 24 10:11:33 2001)# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) SHELL=/bin/bashPATH=/usr/binMAILTO="[EMAIL PROTECTED]" 0 9

[newbie] cron

2001-09-22 Thread Paul Rodríguez
ll putting a shell script in one of my cron folders execute it as root if need be (how do I differentiate). ANd how do I change frequency (i.e. other than daily weekly or hourly). Say, three time a day? -Paul Rodríguez On 23 Sep 2001 01:57:16 -0400, Paul Rodríguez wrote: How do I set up a

Re: [newbie] Cron and Stuff

2001-09-08 Thread David E. Fox
under the services to start both anacron and crond are setup to start on bootup. Are both of these services needed? Also what exactly is I am not sure if both are needed. The crond should be the vixie-cron, since that is more common on Linux systems (it is a version authored by Paul Vixie,

[newbie] Cron root@Ra-Hoor run-parts /etc/cron.daily (fwd)

2001-01-24 Thread Meph Istopheles
Hey, I keep getting this: -- Forwarded message -- To: [EMAIL PROTECTED] Subject: Cron root@Ra-Hoor run-parts /etc/cron.daily From: Cron Daemon [EMAIL PROTECTED] Date: Wed, 24 Jan 2001 04:03:22 -0800 (PST) DB2 problem...: missing or empty key value specified It shows up

[newbie] Cron has gone mad !

2000-12-06 Thread Renaud OLGIATI
I have a cron job that (should) run every morning at 01.00 to run slocate, to update the locate database. For now two days, I have found my machine impossible to use, when I begin at 06.00; constant HD activity, and everything taking ages to happen. So I ctrl-alt-f1ed to the console, did a ps

Re: [newbie] cron error message

2000-12-02 Thread bascule
thankyou very much, bascule On Friday 01 December 2000 4:38 pm, you wrote: On Fri, 1 Dec 2000, bascule wrote: I figured that one out. In /etc/cron.daily there's a file called htdig-dbgen. Just chmod -x that and it's over with the messages. Paul hi, i am getting the message below

[newbie] cron error message

2000-12-01 Thread bascule
hi, i am getting the message below regularly, i would be grateful if someone could tell me if it is serious and how i might fix it? bascule Subject: Cron root@mycroft run-parts /etc/cron.daily X-Cron-Env: SHELL=/bin/bash X-Cron-Env: PATH=/sbin:/bin:/usr/sbin:/usr/bin X-Cron-Env: MAILTO=root

Re: [newbie] cron error message

2000-12-01 Thread Paul
On Fri, 1 Dec 2000, bascule wrote: I figured that one out. In /etc/cron.daily there's a file called htdig-dbgen. Just chmod -x that and it's over with the messages. Paul hi, i am getting the message below regularly, i would be grateful if someone could tell me if it is serious and how i might

[newbie] Cron-tutorial

2000-11-05 Thread KompuKit
Where can I find a good tutorial on setting up cron jobs, and/or editing them? I've never even touched that feature yet...and my box does all sorts of things...every night at 12 am. I want to know what it's doing...and have it run at a different time. It runs for about 15 minutes... then sends

Re: [newbie] Cron-tutorial

2000-11-05 Thread Paul
It was Nov 6, 2000, 00:20, when KompuKit keyboarded: Where can I find a good tutorial on setting up cron jobs, and/or editing them? I've never even touched that feature yet...and my box does all sorts of things...every night at 12 am. I want to know what it's doing...and have it run at a

RE: [newbie] Cron-tutorial

2000-11-05 Thread Ran Hooper
PROTECTED]]On Behalf Of Paul Sent: Sunday, November 05, 2000 9:51 PM To: Linux-Mandrake Subject: Re: [newbie] Cron-tutorial It was Nov 6, 2000, 00:20, when KompuKit keyboarded: Where can I find a good tutorial on setting up cron jobs, and/or editing them? I've never even touched that feature yet

Re: [newbie] Cron-tutorial

2000-11-05 Thread Sridhar Dhanapalan
Try running kcron (part of KDE). It makes the whole crontab creation process very simple. For a tutorial, go to http://mandrakeuser.org/admin/acron.html. MandrakeUser.org has great tutorials for most things you'll need. On Mon, 6 Nov 2000 16:20, KompuKit wrote: Where can I find a good

[newbie] Cron

2000-09-29 Thread Richard Davies
Hi Larry, Let me see if I've got this straight. Your wanting cron to run a script that will log an idle user off the system and return to the gui startup screen. Right? I'm not sure if cron is the best method though. How will it determine that the user is not active and log them out

Re: [newbie] Cron

2000-09-29 Thread Paul
It was Sep 29, 2000, 10:20, when Richard Davies keyboarded: 59 22 * * * root passwd -l katrina 00 23 * * * root halt 00 8 * * * root passwd -u katrina I think you should try and figure out a script to determine the PID of the Xserver, and let cron do a kill -9 on that. That will kick the login

[newbie] Cron job

2000-09-01 Thread Richard Davies
Hi, I have written the following and I want cron to run it for me. It is in a file called /etc/cron.d/katrina 59 22 * * * root passwd -l katrina 00 23 * * * root halt 00 8 * * * root passwd -u katrina The first line works and locks katrina's password The second line does nothing at all. What

[newbie] Cron fails

2000-07-12 Thread Paul
Hi everyone, I have changed the times on crontab this evening and restarted cron (all as root of course, but "su"d in a window. Had to, since my computer is not on at night when the cron-entries usually are run. This is what I get when the hourly check runs: -- Forwarded message

Re: [newbie] CRON

2000-05-06 Thread flupke
If you run mdk 7.0 or higher, there should be a line in your /etc/rc.d/init.d/mandrake_everytime already containing the necessary hdparms to optimize your hard drive. Look at this script and modify it following your needs. I think it's the best thing to do. HTH Flupke On Fri, 5 May 2000,

Re: [newbie] CRON

2000-05-06 Thread Paul
On Fri, 5 May 2000, Nickolay Belostotsky wrote: And how do I run, say: hdparm -d1 /dev/hda on every startup? Put it in /etc/rc.d/rc.local (as root) Paul )0(---)0( Happiness requires practice, just like playing the violin. )0([[EMAIL

[newbie] CRON

2000-05-04 Thread Pete Clapham
Hi, all -- Have any of you configured a CRON table? I would like to have our Linux Server perform a cleanup operation once each day, and CRON would seem to be the way to do this. I have looked at the MAN tables for both CRON and CRONTAB, and they are all but undecipherable. Can you advise

[newbie] Cron fails after a day or so..

2000-01-07 Thread BryanMoorehead
I have had a single cron job that monitors my ip address running for quite some time on my box with no problems. A few days ago, I added a second job to run "rdate -sp time.nist.gov" at specifc intervals. It seems that after a day or so, both jobs stop ( no email to root ), and crond returns

[newbie] Cron fails after a day or so..

2000-01-05 Thread BryanMoorehead
I have had a single cron job that monitors my ip address running for quite some time on my box with no problems. A few days ago, I added a second job to run "rdate -sp time.nist.gov" at specifc intervals. It seems that after a day or so, both jobs stop ( no email to root ), and crond returns

RE: [newbie] cron error

1999-09-05 Thread Ken Wilson
is irrelevant (Steve Heller, 'Efficient C/C++ Programming') -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of JK Sent: Saturday, September 04, 1999 11:44 PM To: [EMAIL PROTECTED] Subject: [newbie] cron error Every time cron runs the below thing is what is sent

RE: [newbie] cron error

1999-09-05 Thread Axalon Bloodstone
of Optimization: The speed of a nonworking program is irrelevant (Steve Heller, 'Efficient C/C++ Programming') -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of JK Sent: Saturday, September 04, 1999 11:44 PM To: [EMAIL PROTECTED] Subject: [newbie] cron

[newbie] cron error

1999-09-04 Thread JK
Every time cron runs the below thing is what is sent to the root user. I logged on as root to install a new rpm I downloaded and it said I had mail. I checked mail and 8 messages were based on this error. Any clue how to fix the error? /usr/bin/news.daily: /var/lib/news/.news.daily: Permission