Re: running a crontab from command line, ad hoc

2003-10-22 Thread Peter B. West
You need a different tool. Crontabs, by definition, specify tasks to runat certain times. You can't run "this morning's" crontab this afternoon. The crontabs are constantly monitored, and when a task becomes due, it's executed. One approach is to edit the crontab, c

Re: running a crontab from command line, ad hoc

2003-10-22 Thread Hal Burgiss
On Wed, Oct 22, 2003 at 03:24:56PM -0400, Timothy Stone wrote: > directories like cron.hourly, cron.daily, et al. I want to do something > where I can say in effect, "Hey Cron, i know that user's crontab is set > do something at this time, but do it now." Can'

Re: running a crontab from command line, ad hoc

2003-10-22 Thread Timothy Stone
On Wednesday 22 October 2003 01:04 pm, Timothy Stone wrote: List, I know this can be done, but it escapes me how to do it. I wanted to execute a user crontab this afternoon that normally runs daily first thing in the morning. Nothing seems to work. And somehow most manuals seem to live it

Re: running a crontab from command line, ad hoc

2003-10-22 Thread Reuben D. Budiardja
On Wednesday 22 October 2003 01:04 pm, Timothy Stone wrote: > List, > > I know this can be done, but it escapes me how to do it. > > I wanted to execute a user crontab this afternoon that normally runs > daily first thing in the morning. Nothing seems to work. And somehow >

running a crontab from command line, ad hoc

2003-10-22 Thread Timothy Stone
List, I know this can be done, but it escapes me how to do it. I wanted to execute a user crontab this afternoon that normally runs daily first thing in the morning. Nothing seems to work. And somehow most manuals seem to live it unsaid, "you must innately know how to do this." Tip

RE: crontab entry

2003-10-10 Thread Chris Purcell
> Sounds like cron isn't running as root. So it is able to write a file > without hard coding a path to it because it is creating the file in it's > working directory. Create a directory that the user cron is running as > can write to. That sounds like what the problem is. > > Wade Actually, Ju

RE: crontab entry

2003-10-10 Thread Wade Chandler
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Purcell Sent: Friday, October 10, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: crontab entry root's crontab looks something like this... SHELL=/bin/bash MAILTO=root PATH=/usr/local/sbin:/usr/local/bin:/sbin

Re: crontab entry

2003-10-10 Thread Justin Banks
Chris Purcell wrote > root's crontab looks something like this... > > SHELL=/bin/bash > MAILTO=root > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin > rsync=/usr/bin/rsync -e ssh -azv --delete --delete-excluded > --exclude=/some/folder [EMAIL PROTECTE

crontab entry

2003-10-10 Thread Chris Purcell
root's crontab looks something like this... SHELL=/bin/bash MAILTO=root PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin rsync=/usr/bin/rsync -e ssh -azv --delete --delete-excluded --exclude=/some/folder [EMAIL PROTECTED]::home /home/ 7 */2 * * * $rsync > /root/rsync_`/

Re: Shell eroor while running crontab daemon

2003-09-13 Thread Michael Schwendt
On Fri, 12 Sep 2003 22:32:51 -0700 (PDT), Khademul Islam wrote: > Now I have the folling in my crontab. > > 59 23 * * * sh /etc/cron.specialTest/ >> With this I > got the error message (I thought it should run any > executable located under the SpeicalTest folder >>

Re: Shell eroor while running crontab daemon

2003-09-12 Thread Khademul Islam
I have exported that, still it didn't help! I also tried to change the "crontab -e", as one of the other redhat user suggested. That didn't make it work! Any suggestion will be highly appreciated. Now I have the folling in my crontab. 59 23 * * * sh /etc/cron.specialTest

Re: Shell eroor while running crontab daemon

2003-09-10 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 10 Sep 2003 18:10:22 +0200, Michael Schwendt wrote: > > 10 7 * * * root run-parts /etc/cron.special > > 02 6 16 * * * root run-parts /etc/cron.specialMonthly > > 02 22 * * 6 root run-parts /etc/cron.specialWeekly > &

Re: Shell eroor while running crontab daemon

2003-09-10 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 10 Sep 2003 07:28:01 -0700 (PDT), Khademul Islam wrote: > I have setup crontab, using crontab -e to send some > e-mail in a routine basis. This is the error message I > got ... how I can fix it? I think I've answered a si

Re: Shell eroor while running crontab daemon

2003-09-10 Thread Jesse Jacobs
Hello, Have u tried export PATH=/usr/local:/usr/bin:$PATH Please correct me if I'm totally off or not understanding the prob. j Khademul Islam said: > I have setup crontab, using crontab -e to send some > e-mail in a routine basis. This is the error message I > got ... ho

Shell eroor while running crontab daemon

2003-09-10 Thread Khademul Islam
I have setup crontab, using crontab -e to send some e-mail in a routine basis. This is the error message I got ... how I can fix it? >>> & 9 Message 9: >From [EMAIL PROTECTED] Mon Sep 1 06:02:01 2003 Date: Mon, 1 Sep 2003 06:02:00 -0500 From: [EMAIL PROTECTED] (Cron Daemon) To:

Re: Crontab question

2003-09-02 Thread Sean Estabrooks
run will have the problem.) > > interestingly enough, there are no files in /etc/cron.hourly. > > /bin/bash: line 1: root: command not found > > the /etc/crontab file is as follows: > > SHELL=/bin/sh > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=root > HOME=/ > &

Crontab question

2003-09-02 Thread Allen Wayne Best
root: command not found the /etc/crontab file is as follows: SHELL=/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts

Re: crontab -e

2003-09-02 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 Sep 2003 09:18:12 -0500, Khademul Islam wrote: > I have setup crontab, using crontab -e to send some e-mail in a routine > basis. This is the error message I got today how I can fix it? > > >>> > & 9

crontab -e

2003-09-02 Thread Khademul Islam
I have setup crontab, using crontab -e to send some e-mail in a routine basis. This is the error message I got today how I can fix it? >>> & 9 Message 9: >From [EMAIL PROTECTED] Mon Sep 1 06:02:01 2003 Date: Mon, 1 Sep 2003 06:02:00 -0500 From: [EMAIL PROTECTED] (Cron Da

CRONTAB NOT WORKING

2003-07-29 Thread Khademul Islam
I have setup crontab the following way: (My weekely report doesn't work! and how can I setup my daily report to go only in the weekdays) [EMAIL PROTECTED] dislam]$ cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts

Re: Sending attachment using crontab

2003-07-28 Thread Anthony E. Greene
On 28-Jul-2003/13:08 -0500, Khademul Islam <[EMAIL PROTECTED]> wrote: >I have setup crontab the following way: (My weekely report doesn't work! >and how can I setup my daily report to go only in the weekdays) To run a command only on weekdays set "days" to "1-5&quo

Sending attachment using crontab

2003-07-28 Thread Khademul Islam
I have setup crontab the following way: (My weekely report doesn't work! and how can I setup my daily report to go only in the weekdays) [EMAIL PROTECTED] dislam]$ cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts

Re: Crontab not running for MRTG

2003-07-24 Thread vijaya
Thanks i had mentioned the wrong user.. Its working fine now REgards, Vijaya On Thursday 24 July 2003 07:39 pm, Win Toe wrote: > pls put SHELL=/bin/bash or /bin/sh in crontab entries. > > crond should be running > > $ps ax | grep crond > > look carefully crond is r

Re: Crontab not running for MRTG

2003-07-24 Thread Win Toe
pls put SHELL=/bin/bash or /bin/sh in crontab entries. crond should be running $ps ax | grep crond look carefully crond is running or not. If not running, use ntsysv(ass root user) and enable at default run level. or /etc/rc.d/init.d/crond restart to start manyally If possible, pls show ur

Crontab not running for MRTG

2003-07-24 Thread vijaya
Hi all, I installed MRTG trhought tar balls and its working fine now.. But problem is when i am running /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg in the crontab .. Its not updating the html file created for that ip .. I have to run manually to update the graph Any help is appreciated

Re: Crontab - won't work -> SOLVED!

2003-07-18 Thread Együd Csaba
ay, July 17, 2003 6:43 PM Subject: Re: Crontab - won't work from crontab but from command line (???) > Every time I have had a probelm like this it ended up being a path > problem. Use fully qualified paths to all progs or set a PATH variable > in your script. > > B

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bret Hughes
On Thu, 2003-07-17 at 18:57, Ian Mortimer wrote: > > You're missing something crucial, the _user_ to run > > the cron command as. Should be something like: > > > > * * * * * root /home/alumil/alumil_daily.sh > > Not in a crontab. Possibly you're th

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Ian Mortimer
> You're missing something crucial, the _user_ to run > the cron command as. Should be something like: > > * * * * * root /home/alumil/alumil_daily.sh Not in a crontab. Possibly you're thinking of an entry in /etc/cron.d In a crontab the user who owns the crontab determ

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Michael Mansour
t this to run every minute? > > > When I run alumil_daily.sh from command line it > creates the output file > > properly. > > Running it from crontab the generated output file > is empty, as if the > > database dump program > > would not provide any output. >

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Ian Mortimer
> * * * * * /home/alumil/alumil_daily.sh Do you really want this to run every minute? > When I run alumil_daily.sh from command line it creates the output file > properly. > Running it from crontab the generated output file is empty, as if the > database dump program > wou

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Mark Neidorff
On Thu, 17 Jul 2003, [iso-8859-1] Együd Csaba wrote: > Hi All, > I have a problem with a crontab job. > > My shell script which I want to run every day is the following: > > -- >

Re: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bret Hughes
On Thu, 2003-07-17 at 08:09, Együd Csaba wrote: > Hi All, > I have a problem with a crontab job. > > My shell script which I want to run every day is the following: > > -- > $ cat alu

RE: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bob Buckley
Also check the root mail file for error messages. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Együd Csaba Sent: Thursday, July 17, 2003 8:10 AM To: redhat-list Subject: Crontab - won't work from crontab but from command line (???) Hi All, I h

RE: Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Bob Buckley
check the shell type sh or bash... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Együd Csaba Sent: Thursday, July 17, 2003 8:10 AM To: redhat-list Subject: Crontab - won't work from crontab but from command line (???) Hi All, I have a problem w

Crontab - won't work from crontab but from command line (???)

2003-07-17 Thread Együd Csaba
Hi All, I have a problem with a crontab job. My shell script which I want to run every day is the following: -- $ cat alumil_daily.sh #!/bin/bash echo "Daily VACUUM ..." | gzip >> /home/

RE: Red Hat 8.0 dont work mail at crontab

2003-07-03 Thread Vicente Calero
OK in a new Red Hat 8.0 we test crond , crontab, etc and all is ok, bat in another one Red Hat 8.0 whith the same installation, hardware etc dont work. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Javier Gostling Enviado el: jueves, 03 de julio de 2003 15

Re: Red Hat 8.0 dont work mail at crontab

2003-07-03 Thread Javier Gostling
On Thu, Jul 03, 2003 at 11:40:49AM +0200, Vicente Calero wrote: > At all versions before /red Hat 4.2 5.1 6.2 etc, when crontab run any > command send a mail to de user, if user of crontab is root send to > /var/spool/mail/root, so we can edit and show all about command executed. >

RE: Red Hat 8.0 dont work mail at crontab

2003-07-03 Thread Cowles, Steve
> -Original Message- > From: Vicente Calero > Sent: Thursday, July 03, 2003 4:41 AM > Subject: Red Hat 8.0 dont work mail at crontab > > > At all versions before /red Hat 4.2 5.1 6.2 etc, when crontab run any > command send a mail to de user, if user of cronta

Red Hat 8.0 dont work mail at crontab

2003-07-03 Thread Vicente Calero
At all versions before /red Hat 4.2 5.1 6.2 etc, when crontab run any command send a mail to de user, if user of crontab is root send to /var/spool/mail/root, so we can edit and show all about command executed. Now we are install Red Hat 8.0 and crontab only send mail if there are any error at run

Re: Crontab issue

2003-03-08 Thread M.Lewis
t; | > /bin/tar czvf /root/dbman_back-`date '+\%m\%d\%Y\%H\%M'`-tar.gz > | > /var/www/cgi-bin/dbman > | > > | > "man 5 crontab" says > | > [...] Percent-signs (%) in the command, unless > | > escaped with backslash (\), will be changed

Re: Crontab issue

2003-03-08 Thread Ramesh .T.S
;Cameron Simpson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 08, 2003 6:40 PM Subject: Re: Crontab issue > On 03:18 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote: > | > Percents are special in Vixie cron crontabs. You need to slosh it: > | &g

Re: Crontab issue

2003-03-08 Thread Cameron Simpson
On 03:18 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote: | > Percents are special in Vixie cron crontabs. You need to slosh it: | > | > /bin/tar czvf /root/dbman_back-`date '+\%m\%d\%Y\%H\%M'`-tar.gz | > /var/www/cgi-bin/dbman | > | > "man 5 crontab"

RE: Crontab issue

2003-03-08 Thread Cowles, Steve
> -Original Message- > From: M.Lewis > Sent: Saturday, March 08, 2003 3:56 AM > Subject: Crontab issue > > > > If I run the following from the comman line, it works properly: > > /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \ &

Re: Crontab issue

2003-03-08 Thread M.Lewis
ww/cgi-bin/dbman > > "man 5 crontab" says > > The ``sixth'' field (the rest of the line) specifies the > command to be run. The entire command portion of the > line, up to a newline or % character, will be executed by > /b

Re: Crontab issue

2003-03-08 Thread M.Lewis
e '+%m%d%Y%H%M'`-tar.gz \ > | /var/www/cgi-bin/dbman > | > | However, it I put this in my crontab, I get the following: > | > | Subject: Cron <[EMAIL PROTECTED]> /bin/tar czvf /root/dbman_back-`date '+ > > Your clue is that the command stops after the "+

Re: Crontab issue

2003-03-08 Thread Cameron Simpson
On 01:55 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote: | If I run the following from the comman line, it works properly: | | /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \ | /var/www/cgi-bin/dbman | | However, it I put this in my crontab, I g

Crontab issue

2003-03-08 Thread M.Lewis
If I run the following from the comman line, it works properly: /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \ /var/www/cgi-bin/dbman However, it I put this in my crontab, I get the following: Subject: Cron <[EMAIL PROTECTED]> /bin/tar czvf

Re: why is wrong with this /etc/crontab

2003-01-20 Thread Tibbetts, Ric
low. Cheers Ric Jianping Zhu wrote: Thanks, i checked as you indicated. but it is still not working. On Thu, 16 Jan 2003, Bart Schelstraete wrote: Jianping Zhu wrote: I have redhat 7.3 server the /etc/crontab is as following .- S

Re: why is wrong with this /etc/crontab

2003-01-20 Thread Jianping Zhu
Thanks, i checked as you indicated. but it is still not working. On Thu, 16 Jan 2003, Bart Schelstraete wrote: > Jianping Zhu wrote: > > >I have redhat 7.3 server the /etc/crontab is as following > >.- > >SHELL

Re: why is wrong with this /etc/crontab

2003-01-18 Thread Todd A. Jacobs
ends to other things, too. There should only be five date/time fields, not six. "man crontab" can be your friend. -- "Of course I'm in shape! Round's a shape, isn't it?" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list

Re: why is wrong with this /etc/crontab

2003-01-18 Thread Todd A. Jacobs
On Thu, 16 Jan 2003, Jianping Zhu wrote: > 10 12 * * * * root echo "jzhu>/home/jzhu/jzhu.dat#line12 Where's your ending double-quote? -- "Of course I'm in shape! Round's a shape, isn't it?" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https:/

Re: crontab

2003-01-18 Thread Mark Neidorff
es to cron using crontab -e were being "ignored." Turns out, of course, they weren't. anacron was running the same things as cron was. Using webmin showed me both running. I closed anacron and problems went away! Mark On Fri, 17 Jan 2003, Michael Fratoni wrote: > -BEGIN PG

Re: crontab

2003-01-17 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 17 January 2003 05:21 am, Mark Neidorff wrote: > Check the man page. the -u will do another user's crontab. > If you edit one of the crontab files directly, it won't update cron. > On Wed, 15 Jan 2003, Jianping Zhu w

Re: crontab

2003-01-17 Thread Mark Neidorff
Check the man page. the -u will do another user's crontab. If you edit one of the crontab files directly, it won't update cron. Mark On Wed, 15 Jan 2003, Jianping Zhu wrote: > Thank you for response > i found we i use crontab -e, the file /var/spool/corn/root not > /etc

Re: why is wrong with this /etc/crontab

2003-01-16 Thread Tibbetts, Ric
Jianping Zhu wrote: I have redhat 7.3 server the /etc/crontab is as following .- SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.houily 2 4 * * * root run-parts /etc

Re: why is wrong with this /etc/crontab

2003-01-16 Thread David Busby
[EMAIL PROTECTED]> To: "Jianping Zhu" <[EMAIL PROTECTED]>; "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 11:42 Subject: RE: why is wrong with this /etc/crontab > I am experiencing a similar issue. I have a cr

RE: why is wrong with this /etc/crontab

2003-01-16 Thread Robert Adkins
I am experiencing a similar issue. I have a crontab job setup to run a simple script that when it is complete is supposed to append two items, on one line, to a logfile. The script is simple, it is supposed to echo a line of text (using the -n option) and also use "

Re: why is wrong with this /etc/crontab

2003-01-16 Thread Mike Burger
One too many *'s in each of th last two lines. On Thu, 16 Jan 2003, Jianping Zhu wrote: > I have redhat 7.3 server the /etc/crontab is as following > .- > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=r

Re: why is wrong with this /etc/crontab

2003-01-16 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 16 Jan 2003 12:07:38 -0500 (EST), Jianping Zhu wrote: > I have redhat 7.3 server the /etc/crontab is as following > .- > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/

Re: why is wrong with this /etc/crontab

2003-01-16 Thread Bart Schelstraete
Jianping Zhu wrote: I have redhat 7.3 server the /etc/crontab is as following .- SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.houily 2 4 * * * root run-parts /etc

Re: crontab

2003-01-15 Thread Bret Hughes
On Wed, 2003-01-15 at 21:51, Jianping Zhu wrote: > Thank you for response > i found we i use crontab -e, the file /var/spool/corn/root not > /etc/crontab is changed. how can i change /etc/crontab? > Just use you favorite editor. The syntax is a little different. You must add the

Re: crontab

2003-01-15 Thread Jianping Zhu
Thank you for response i found we i use crontab -e, the file /var/spool/corn/root not /etc/crontab is changed. how can i change /etc/crontab? Thanks On Wed, 15 Jan 2003, Mark Neidorff wrote: > On Wed, 15 Jan 2003, Jianping Zhu wrote: > > > > > when did systme call /ect/

Re: crontab

2003-01-15 Thread Mark Neidorff
On Wed, 15 Jan 2003, Jianping Zhu wrote: > > when did systme call /ect/crontab? if i make change to /etc/crontab how > to let the change take effect? > Thanks Well, if you edit crontab with: #crontab -e then changes go into effect in a very short time. Cron reads its config fil

Re: crontab

2003-01-15 Thread David Busby
January 15, 2003 11:33 Subject: crontab > > when did systme call /ect/crontab? if i make change to /etc/crontab how > to let the change take effect? > Thanks > > > Jianping Zhu > Department of Computer Science > Univerit

crontab

2003-01-15 Thread Jianping Zhu
when did systme call /ect/crontab? if i make change to /etc/crontab how to let the change take effect? Thanks Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA 30602 Tel 706 5423900 -- redhat-list

Re: crontab

2002-12-12 Thread Ben Russo
On Tue, 2002-12-10 at 21:18, Jianping Zhu wrote: > ect/crontab > > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=root > HOME=/ > > # run-parts > 01 * * * * root run-parts /etc/cron.hourly > 02 4 * * * root ru

RE: crontab

2002-12-10 Thread Cowles, Steve
> -Original Message- > From: Jianping Zhu > Sent: Tuesday, December 10, 2002 8:18 PM > Subject: crontab > > > ect/crontab > > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=root > HOME=/ > &g

crontab

2002-12-10 Thread Jianping Zhu
ect/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-oarts /etc/cron.daily 22 4 * * 0Hroot run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc

Re: crontab

2002-10-22 Thread Robert P. J. Day
On Tue, 22 Oct 2002, Rudolf Amirjanyan wrote: > Hello all. Can anybody tell me if it is recomended that root runs a > script through crontab. If no, then please say the reason. Thanks !!! that depends. do you mean you want to run a script just on behalf of the personal root user account,

crontab

2002-10-22 Thread Rudolf Amirjanyan
Hello all. Can anybody tell me if it is recomended that root runs a script through crontab. If no, then please say the reason. Thanks !!!

RE: vi crontab and a soft linked tmp dir broken

2002-10-16 Thread Collin Baillie
Did this make it to the list? Collin > -Original Message- > Subject: vi, crontab and a soft-linked tmp dir = broken > > > Hey People, > > I have a small problem. On most of our systems (Rh 6.2 -> RH > 7.2) we use a softlink for the /tmp dir. When we

vi crontab and a soft linked tmp dir broken

2002-10-15 Thread Collin Baillie
Hey People, I have a small problem. On most of our systems (Rh 6.2 -> RH 7.2) we use a softlink for the /tmp dir. When we run crontab -e and make changes to the crontab, save and exit we get "crontab: no changes made to crontab" Things that fix this: 1. Make /tmp a real dir

crontab shell?

2002-09-08 Thread smoke
hi, im using this command to parse squid's log files. cat /usr/local/squidlog/access.log.0 | calamaris -a -w >/var/www/html/calamaris/`date +%m%d%y`.html this works when typed. however when the line is inserted in crontab ( crontab -e ) it doesnt work.. here's the

Re: crontab

2002-08-02 Thread Ed Wilts
On Fri, Aug 02, 2002 at 12:57:14PM -0600, Ashley M. Kirchner wrote: > > How does one schedule a crontab to run the last day of the month? > Considering that each month is different, one can't use '30' or '31' (or > 28/29), so...what to use? Untested...I

Re: crontab

2002-08-02 Thread Johannes Franken
* Ashley M. Kirchner <[EMAIL PROTECTED]> [2002-08-02 20:57 +0200]: > How does one schedule a crontab to run the last day of the month? have cron call »remind«, which can do *any* calendar calculation for you (e.g. "is it sunday after the first full moon in spring") and cal

Re: crontab

2002-08-02 Thread Saul Arias
On Fri, 2002-08-02 at 14:57, Ashley M. Kirchner wrote: > How does one schedule a crontab to run the last day of the month? > Considering that each month is different, one can't use '30' or '31' (or > 28/29), so...what to use? I don't know, but I use thi

crontab

2002-08-02 Thread Ashley M. Kirchner
How does one schedule a crontab to run the last day of the month? Considering that each month is different, one can't use '30' or '31' (or 28/29), so...what to use? -- W | I haven't lost my mind; it

Re: crontab

2002-05-27 Thread rpjday
On Mon, 27 May 2002, madhvi wrote: > > I have tried automating the backup of my files by scheduling the execution of >scripts ( I am using rcp to copy the files onto another fileserver). > > The problem encountered is :- > > I log in as root and issued the crontab -

crontab

2002-05-27 Thread madhvi
  I have tried automating the backup of my files by scheduling the execution of scripts ( I am using rcp to copy the files onto another fileserver).    The problem encountered is :-   I log in as root and issued the crontab -e command.  Added the following lines 10 16 * * 3 5 /scripts

Re: Crontab Entries

2002-03-28 Thread Javier Gostling
A better one would be: $ cd /var/spool/cron $ for i in *; do echo $i; cat $i; echo '='; done This would give you a complete list of crontab contents, tag who owns each entry and show where each crontab file ends. Cheers, -- Javier Gostling Ingeniero de Sistemas Virtualia S

SOLVED: Re: Crontab Entries

2002-03-28 Thread Jake McHenry
Thanks everyone, that makes things a lot easier for me. :-) At 08:33 AM 3/28/2002 -0500, you wrote: >Does anyone know of a way that I can view the crontab entries for all >users on the system, instead of doing crontab -u user -l for each user? > >T

Re: Crontab Entries

2002-03-28 Thread Rénald CASAGRAUDE
On jeudi, mars 28, 2002, at 02:33 , Jake McHenry wrote: > Does anyone know of a way that I can view the crontab entries > for all users on the system, instead of doing > crontab -u user -l for each user? Hi ! Try this as root : #!/bin/sh cat /etc/passwd | cut -d':' -f1 |

Re: Crontab Entries

2002-03-28 Thread Ed . Greshko
On Thu, 28 Mar 2002, Jake McHenry wrote: > Does anyone know of a way that I can view the crontab entries for all users > on the system, instead of doing crontab -u user -l for each user? su cd /var/spool/cron cat * Ed ___ Redhat-list m

Re: Crontab Entries

2002-03-28 Thread Robert Dege
an view the crontab entries for all users > on the system, instead of doing crontab -u user -l for each user? > > Thanks, > Jake > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman

Crontab Entries

2002-03-28 Thread Jake McHenry
Does anyone know of a way that I can view the crontab entries for all users on the system, instead of doing crontab -u user -l for each user? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo

RE: Using the date command in a crontab entry - THANKS!

2002-03-07 Thread Eric Sisler
My thanks to [EMAIL PROTECTED] and Arthur H. Johnson II <[EMAIL PROTECTED]> for helping to alleviate my stupidity. ;-) It seems that crond was tripping over the % rather than the +: >actually its the % that crond is interpreting as newline. use >/usr/local/sbin/backup.bash "`date +\%Y-\%m-\%d

Re: Using the date command in a crontab entry

2002-03-07 Thread Arthur H. Johnson II
e command in a crontab entry, and I keep > getting an error. I've tried just about every possible syntax I can think > of, so I'm either being stupid or what I want can't be done. I've tried > the following entries (minus the time/date/day fields): > > /usr/lo

RE: Using the date command in a crontab entry

2002-03-07 Thread Stephen_Reilly
actually its the % that crond is interpreting as newline. use /usr/local/sbin/backup.bash "`date +\%Y-\%m-\%d`" Fri steve -Original Message- From: Eric Sisler [mailto:[EMAIL PROTECTED]] Sent: 07 March 2002 15:51 To: [EMAIL PROTECTED] Subject: Using the date command in a cro

Using the date command in a crontab entry

2002-03-07 Thread Eric Sisler
Greetings, I'm trying to insert the date command in a crontab entry, and I keep getting an error. I've tried just about every possible syntax I can think of, so I'm either being stupid or what I want can't be done. I've tried the following entries (minus the tim

Re: Changing default Crontab console text editor

2001-04-27 Thread Hal Burgiss
On Fri, Apr 27, 2001 at 11:43:32PM -0500, Glen Lee Edwards wrote: > How do I change the default crontab text editor from vim to xemacs? > Unfortunately I don't speak vim, and I have neither the time nor > the desire to learn it. export EDITOR="vim -g" It's not so

Changing default Crontab console text editor

2001-04-27 Thread Glen Lee Edwards
How do I change the default crontab text editor from vim to xemacs? Unfortunately I don't speak vim, and I have neither the time nor the desire to learn it. Glen ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/ma

Re: crontab and mail

2001-02-14 Thread A Brady
On Wednesday 14 February 2001 12:05, Kiran Kumar M opined: > Hi, > > The processing done by 'crontab' will sent to 'root' by mail. How can I > stop it. MAILTO="" -- To boldly go where I surely don't belong.

Re: crontab and mail

2001-02-14 Thread Anthony E . Greene
On Wed, 14 Feb 2001 13:05:59 Kiran Kumar M wrote: >The processing done by 'crontab' will sent to 'root' by mail. How can I >stop it. Add this to the top of your crontab: MAILTO="" -- Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agre

Re: crontab and mail

2001-02-14 Thread Matthew Melvin
On Wed, 14 Feb 2001 at 11:35pm (+0530), Kiran Kumar M wrote: > > Hi, > > The processing done by 'crontab' will sent to 'root' by mail. How can I > stop it. > At the head of your crontab file put something like.. [EMAIL PROTECTED] ... see crontab(5) for

Re: crontab and mail

2001-02-14 Thread Mike Burger
At the end of the cron task, ">> /dev/null 2>&1" minus the quote marks. On Wed, 14 Feb 2001, Kiran Kumar M wrote: > > Hi, > > The processing done by 'crontab' will sent to 'root' by mail. How can I > stop it. > > Thanks, > Kiran

crontab and mail

2001-02-14 Thread Kiran Kumar M
Hi, The processing done by 'crontab' will sent to 'root' by mail. How can I stop it. Thanks, Kiran ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

RE: crontab -l

2001-01-26 Thread Rob Yale
Or, you could re-install the file 'crontab -u root /directoryname/filename' Rob > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Thierry ITTY > Sent: January 26, 2001 1:15 PM > To: [EMAIL PROTECTED] > Subject: Re: cron

Re: crontab -l

2001-01-26 Thread Thierry ITTY
A 10:57 26/01/2001 -0600, vous avez écrit : >During an upgrade from RedHat 5.2 to 7.0 I noticed something wrong with >cron. It doesn't work anymore. >When I do a crontab -l it tells me >no crontab for root. >The cron is still where I left it in /var/spool/cron/root >Has a

Re: crontab -l

2001-01-26 Thread Lorris J. Woods
I believe this means that there are no cron entries for root, you have to create them. On Fri, 26 Jan 2001, Tony Campisi wrote: > During an upgrade from RedHat 5.2 to 7.0 I noticed something wrong with > cron. It doesn't work anymore. > When I do a crontab -l it tells me > no

crontab -l

2001-01-26 Thread Tony Campisi
During an upgrade from RedHat 5.2 to 7.0 I noticed something wrong with cron. It doesn't work anymore. When I do a crontab -l it tells me no crontab for root. The cron is still where I left it in /var/spool/cron/root Has anyone come accross this problem and can help me fix it? TI

  1   2   >