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. Tips? Thanks

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 most manuals seem to live

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

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't you just reset the time to something

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, copying the morning line(s

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_`/bin/date

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 PROTECTED]::home /home/ 7 */2

RE: crontab entry

2003-10-10 Thread Wade Chandler
- 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:/bin:/usr/sbin

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, Justin

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 /etc/cron.specialTest: /etc

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/ With this I got

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: [EMAIL PROTECTED

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 ... how I can fix it? 9

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 similar question recently

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 Run crontab -e and drop the root

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 Daemon) To: [EMAIL

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 Message 9: From [EMAIL PROTECTED] Mon Sep

Crontab question

2003-09-02 Thread Allen Wayne Best
: 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 /etc

Re: Crontab question

2003-09-02 Thread Sean Estabrooks
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=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts

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 /etc

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 /etc

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: 01 01 * * 1-5 root command Your

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 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

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 running or not. If not running

Re: Crontab - won't work - SOLVED!

2003-07-18 Thread Együd Csaba
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. Bret -- redhat-list mailing list unsubscribe mailto

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/alumil/vdblog.gz echo

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

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 have

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 alumil_daily.sh #!/bin/bash

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: -- $ cat alumil_daily.sh My

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 would not provide any output

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

2003-07-17 Thread Michael Mansour
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. What is the path to the database dump program? If it's not in a standard location

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 determines who the cron job runs

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 thinking of an entry in /etc/cron.d In a crontab the user

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: 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 crontab is root send to /var/spool/mail

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. Now we are install

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

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 /root/dbman_back

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 get the following

Re: Crontab issue

2003-03-08 Thread M.Lewis
\ | /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 +. | X-Cron-Env: SHELL=/bin/bash | X-Cron-Env: HOME=/root | X-Cron-Env: PATH=/usr

Re: Crontab issue

2003-03-08 Thread M.Lewis
That didn't work Cameron. It gives me a file with the name of: dbman_back-\03\08\2003\03\14-tar.gz [snip] 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 \ /var/www/cgi-bin/dbman However

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 says | [...] Percent-signs (%) in the command

Re: Crontab issue

2003-03-08 Thread Ramesh .T.S
] 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: | | /bin/tar czvf /root/dbman_back-`date '+\%m\%d\%Y\%H\%M'`-tar.gz | /var

Re: Crontab issue

2003-03-08 Thread M.Lewis
-`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 into newline |characters, and all data after the first % will be sent to |the command

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=/bin/bash PATH=/sbin:/bin:/usr

Re: why is wrong with this /etc/crontab

2003-01-20 Thread Tibbetts, Ric
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 .- SHELL=/bin/bash PATH=/sbin:/bin:/usr

Re: crontab

2003-01-18 Thread Mark Neidorff
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 PGP SIGNED MESSAGE- Hash: SHA1

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

Re: why is wrong with this /etc/crontab

2003-01-18 Thread Todd A. Jacobs
. 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: crontab

2003-01-17 Thread Mark Neidorff
Check the man page. the -u username 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/crontab

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 username 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 wrote: Thank you

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: 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/bin MAILTO=root

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=root HOME=/ # run-parts

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 date

Re: why is wrong with this /etc/crontab

2003-01-16 Thread David Busby
] 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 crontab job setup to run a simple script that when it is complete is supposed

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

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

2003-01-15 Thread David Busby
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 Univerity of Georgia Athens, GA 30602 Tel 706 5423900

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 file at the top

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/crontab? if i make change

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 user name to run

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 run-oarts /etc/cron.daily 22 4 * * 0Hroot

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-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=/ # run-parts 01 * * * * root run-parts /etc

crontab

2002-10-22 Thread Rudolf Amirjanyan
Hello all. Can anybody tell me ifit is recomended thatroot runsascript through crontab. If no, then please say the reason. Thanks !!!

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

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 run crontab -e and make changes

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 directory, not a softlink

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 error message

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's backed up on tape somewhere

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 this in a script to do different things

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 call external programs

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 did a google search for crontab last day

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/backup

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 -e command. Added the following

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: Crontab Entries

2002-03-28 Thread Robert Dege
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/redhat-list

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 mailing list

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 | while read username; do

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? Thanks, Jake

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 time/date/day fields): /usr

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 crontab entry

Re: Using the date command in a crontab entry

2002-03-07 Thread Arthur H. Johnson II
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/local/sbin/backup.bash `date +%Y-%m-%d` Fri -or- /usr/local

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`

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/mailman

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 or whatever It's not so baaa-aaad! You can put

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 and mail

2001-02-14 Thread Mike Burger
At the end of the cron task, " /dev/null 21" 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 ___ Redhat-list ma

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 more details. M. -- WebCentral Pty Ltd

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/~agreene/ PGP Key: 0x6C94239D/7B3D BD7D 7D91

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. ___ Redhat-list mailing l

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? TIA- tC

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 for root

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 anyone come accross this problem

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: crontab -l A 10:57 26/01/2001 -0600

crontab editor

2000-09-21 Thread Eileen Orbell
Hi, How can I change my default corntab editor from VI to Pico?? Thanks Eileen Orbell Software Internet Applications Capitol College mailto:[EMAIL PROTECTED] Don't Fear the Penguin. ___ Redhat-list mailing list [EMAIL PROTECTED]

  1   2   >