Re: PHP from Cron failed

2003-09-27 Thread Marius Andreiana
On Vi, 2003-09-26 at 22:32, Reuben D. Budiardja wrote: > I have to wait until the next time the cron > run and check my e-mail before I know anything. edit the cron to run on it on the next minute, don't put any other constraints. Don't know the solution but * trim the scri

PHP from Cron failed

2003-09-26 Thread Reuben D. Budiardja
Hello, This might be sligly off topic, but I don't know what else to look for. I have a PHP codes that connect to a local ORACLE database and performs some simple query. It works from shell. I want to do it by cron. It always failed that it cannot logon to the ORACLE. I made sure I s

Re: first attempt to use cron in RH 8.0.

2003-09-19 Thread dlangschied
root is the user, so the answer to access is yes. I will add the -e parameter to crontab, but I would like to store the table under /var/spool/cron/crontabs. I am just an old Unix dog stuck to my ways. I don't know why what I have done has not worked. Whether I edit the file through cront

Re: first attempt to use cron in RH 8.0.

2003-09-19 Thread Greg Bradner
put the full path 0 0 * * * /usr/local/bin/bkup.cron Also, check your mail. Cron should have complained. dlangschied wrote: Hi all! I am trying for the first time to run a script from cron. I made the following entry: 0 0 * * * bkup.cron The script, bkup.cron, is located in /usr/local/bin

Re: first attempt to use cron in RH 8.0.

2003-09-19 Thread Rodolfo J. Paiz
At 14:38 9/19/2003 -0400, you wrote: Hi all! I am trying for the first time to run a script from cron. I suggest that you run the "crontab -e" command which will automatically edit that user's crontab, or as root run "crontab -e user" to select which user's crontab

first attempt to use cron in RH 8.0.

2003-09-19 Thread dlangschied
Hi all! I am trying for the first time to run a script from cron. I made the following entry: 0 0 * * * bkup.cron The script, bkup.cron, is located in /usr/local/bin. The crontab file, root, is located in /var/spool/cron/crontabs. To initiate this in cron I entered the following command

Re: cron question

2003-09-17 Thread Gordon Messmer
[EMAIL PROTECTED] wrote: At diferent time of the day the cron started to echo this message after some scripts was started: Sep 16 03:00:01 host CROND[27392]: (user) MAIL (mailed 55 bytes of output but got status 0x0047 ) Does someone have an idea? Check your maillog for the same date/time to see

cron question

2003-09-17 Thread diego . veiga
Hi list, At diferent time of the day the cron started to echo this message after some scripts was started: Sep 16 03:00:01 host CROND[27392]: (user) MAIL (mailed 55 bytes of output but got status 0x0047 ) Does someone have an idea? Thanks, Diego Brito Veiga Technical Publications Phone

RE: Cron job to copy files from windows server?

2003-09-16 Thread Rodolfo J. Paiz
At 13:33 9/12/2003 -0500, you wrote: Ok, so I want to rsync /mnt/www/ with /var/www/html/backup/ How would I go about doing that? I've tried searching for examples, but they are leaving me very confused. Read the man page; long and somewhat complex but very useful. Also: # rsync -av /mnt/www/* /v

Re: Cron job to copy files from windows server?

2003-09-12 Thread Reuben D. Budiardja
On Friday 12 September 2003 02:33 pm, [EMAIL PROTECTED] wrote: > > man smbmount > > You can put the username+password in credential file. > > Ok, I successfully mounted the share. > > > I do something similar here, and the way I do it, I mount the > > directory from Win2K using smbmount, and then u

RE: Cron job to copy files from windows server?

2003-09-12 Thread Cleveland
> man smbmount > You can put the username+password in credential file. Ok, I successfully mounted the share. > I do something similar here, and the way I do it, I mount the > directory from Win2K using smbmount, and then use rsync to > synchronize the two directory, > rather than just bulk cop

RE: Cron job to copy files from windows server?

2003-09-09 Thread Chris W. Parker
copied all the sites over, and setup apache. > My question is, I'd like to set up a cron job to once a week copy the > contents of folders on the windows system and replace the content in > the same folders on the redhat server. Is that possible? You could setup FTP on the linux box

Re: Cron job to copy files from windows server?

2003-09-09 Thread Reuben D. Budiardja
On Tuesday 09 September 2003 12:40 pm, [EMAIL PROTECTED] wrote: > Hi Matt, > > > Or use SAMBA on the RH9 machine and schedule a copy to the > > SAMBA share on the RH9 machine... > > I've got SAMBA running on the rh9 machine, and I can see the network > fine. But, I need to put in a name and passwor

Re: Cron job to copy files from windows server?

2003-09-09 Thread Benjamin J. Weiss
> Hello, > > I've got a Windows 2000 machine that I'm using as a web server. As a > safeguard, I've got a redhat 9 machine that I want to mirror all the web > sites on. I manually copied all the sites over, and setup apache. My > question is, I'd like to set

RE: Cron job to copy files from windows server?

2003-09-09 Thread Cleveland
Hi Matt, > Or use SAMBA on the RH9 machine and schedule a copy to the > SAMBA share on the RH9 machine... I've got SAMBA running on the rh9 machine, and I can see the network fine. But, I need to put in a name and password when I try to get to the mail server. How would I put that into my comman

Re: Cron job to copy files from windows server?

2003-09-09 Thread Matt Burleigh
[EMAIL PROTECTED] wrote: Hello, I've got a Windows 2000 machine that I'm using as a web server. As a safeguard, I've got a redhat 9 machine that I want to mirror all the web sites on. I manually copied all the sites over, and setup apache. My question is, I'd like to set up

Cron job to copy files from windows server?

2003-09-09 Thread Cleveland
Hello, I've got a Windows 2000 machine that I'm using as a web server. As a safeguard, I've got a redhat 9 machine that I want to mirror all the web sites on. I manually copied all the sites over, and setup apache. My question is, I'd like to set up a cron job to once a week

RE: Sendmail -q and Cron

2003-07-29 Thread Cowles, Steve
e mail queue until someone manually > runs /usr/lib/sendmail -q . To remedy this problem I'm attempting to > set up a cron job to run the check every 5 minutes. > > Oddly enough the following cron job works fine if I place it in > /var/spool/cron/root, but it fails if I append

Sendmail -q and Cron

2003-07-29 Thread Mark Reis
/sendmail -q . To remedy this problem I'm attempting to set up a cron job to run the check every 5 minutes. Oddly enough the following cron job works fine if I place it in /var/spool/cron/root, but it fails if I append it to the /etc/crontab . Does anyone have an idea why? 0-59/5 * * * *

Re: Cron/Fetchmail mail

2003-06-30 Thread Edward Dekkers
gregory mott wrote: i think fetchmail is silent to stdout/err when you tell it to log to syslog instead. fwiw i also run it as daemon instead of relaunching it all the time. Thanks for all replies - Steve,Alexey and Gregory. When you said that a light went up (back in 1991 at university I did a

RE: Cron/Fetchmail mail

2003-06-30 Thread gregory mott
On Mon, 2003-06-30 at 12:02, Cowles, Steve wrote: > > From: Edward Dekkers > > Sent: Monday, June 30, 2003 4:41 AM > > > > I have put in a crontab: > > */30* * * * /usr/bin/fetchmail > /dev/null > > > > This works great unless there are errors, then they are mailed

Re: Cron/Fetchmail mail

2003-06-30 Thread Alexey Fadyushin
Most probably the errors are outputted to the stderr file descriptor while the usual messages are outputted to the stdout descriptor. You have redirected to /dev/null the stdout only. To suppress error messages you need to add the redirection for stderr. The crontab entry shold be as follows */30

RE: Cron/Fetchmail mail

2003-06-30 Thread Cowles, Steve
> -Original Message- > From: Edward Dekkers > Sent: Monday, June 30, 2003 4:41 AM > Subject: Cron/Fetchmail mail > > > This should be simple, but I'm not sure what to search on with google > (whatever I tried was irrelevant to my situation). > >

Cron/Fetchmail mail

2003-06-30 Thread Edward Dekkers
This should be simple, but I'm not sure what to search on with google (whatever I tried was irrelevant to my situation). I have put in a crontab: */30 * * * * /usr/bin/fetchmail > /dev/null This works great unless there are errors, then they are mailed to the crontab owner. Can they be suppre

RE: Sendmail - mail from cron not working

2003-06-27 Thread Cowles, Steve
> -Original Message- > From: MONGAN, DAVID (JSC-DV1) (UNI) > Sent: Friday, June 27, 2003 11:19 AM > To: '[EMAIL PROTECTED]' > Subject: Sendmail - mail from cron not working > > When I login as root to check mail messages sent from cron I > get nothing.

RE: Sendmail - mail from cron not working

2003-06-27 Thread MONGAN, DAVID (JSC-DV1) (UNI)
ettings in the updated sendmail on RH9.0 don't allow local mail to work. The functionality has been there to allow cron messages on a standalone workstation to send messages to root. The mail command simply put the message in the local mail queue, a network daemon is not needed for that. David

Re: Sendmail - mail from cron not working

2003-06-27 Thread Joe Polk
t sendmail. <> -- Original Message --- From: "MONGAN, DAVID (JSC-DV1) (UNI)" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Sent: Fri, 27 Jun 2003 11:18:36 -0500 Subject: Sendmail - mail from cron not working > When I login as r

Sendmail - mail from cron not working

2003-06-27 Thread MONGAN, DAVID (JSC-DV1) (UNI)
When I login as root to check mail messages sent from cron I get nothing. On my RH 7.3 system it works fine but not on my RH 9.0 system. I don't run the sendmail daemon on the RH 7.3 system but local mail works but not on the RH 9.0 system. How can I get local mail to work without ru

Re: Fetchmail, daemon or cron?

2003-06-10 Thread Jon Haugsand
* Daniel A. Chartrand > QUESTION: In Redhat 9, is there a Daemon that automatically checks for mail or > do i need to do a Cron job? Here is my ~/.fetchmailrc file: set daemon 30 poll OSLOMAIL2 protocol imap username "nbjhh1" keep stripcr It checks every 30 seconds. (Rem

Re: Fetchmail, daemon or cron?

2003-06-06 Thread MKlinke
On Friday 06 June 2003 17:42, Daniel A. Chartrand wrote: > I have created a /home/someuser/.fetchmailrc file. > > QUESTION: In Redhat 9, is there a Daemon that automatically checks > for mail or do i need to do a Cron job? > > I would like the mail to be checked every few minu

RE: Fetchmail, daemon or cron?

2003-06-06 Thread Richard Humphrey
: [EMAIL PROTECTED] Subject: Fetchmail, daemon or cron? I have created a /home/someuser/.fetchmailrc file. QUESTION: In Redhat 9, is there a Daemon that automatically checks for mail or do i need to do a Cron job? I would like the mail to be checked every few minutes. If there is a Daemon for

Re: Fetchmail, daemon or cron?

2003-06-06 Thread Joseph A Nagy Jr
Daniel A. Chartrand wrote: I have created a /home/someuser/.fetchmailrc file. QUESTION: In Redhat 9, is there a Daemon that automatically checks for mail or do i need to do a Cron job? I would like the mail to be checked every few minutes. If there is a Daemon for fetchmail that accomplishes what

Fetchmail, daemon or cron?

2003-06-06 Thread Daniel A. Chartrand
I have created a /home/someuser/.fetchmailrc file. QUESTION: In Redhat 9, is there a Daemon that automatically checks for mail or do i need to do a Cron job? I would like the mail to be checked every few minutes. If there is a Daemon for fetchmail that accomplishes what i need, how can i verify

Re: Setting a Cron Job

2003-06-05 Thread Ziaur Rahman
1. To go into Write Mode press 'i' (without the inverted commas) 2. To get out of Write Mode, just press Esc. +---+ | Ziaur Rahman | PGP Key: 0x8B686E8E| | http://zia.info|http://pgp.mit.edu| |

Re: Setting a Cron Job

2003-06-05 Thread Joseph A Nagy Jr
Ziaur Rahman wrote: Set the EDITOR environment var to your fav. editor. EDITOR= export EDITOR Thanks! :) -- Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and the -4 Shield of No Spell Checker --

Re: Setting a Cron Job

2003-06-05 Thread MKlinke
On Wednesday 04 June 2003 19:06, Joseph A Nagy Jr wrote: > Campbell, Michael (Contractor) wrote: > > to set your crontab: > > 1. logon to root > > 2. type csh ('C' shell) > > 3. crontab -e > > > > After 3, you should be in crontab... Then set you your jobs ... > > then exit with save ( :wq!

Re: Setting a Cron Job

2003-06-05 Thread Joseph A Nagy Jr
Mike Wooding wrote: --- Joseph A Nagy Jr <[EMAIL PROTECTED]> wrote: Do I need to login as root? No. I'd like to be able to have this script be readable/writable by janjr.apache (what server runs as and docroot ownership is set to). If not I can get to csh no problem. csh is not required.

Re: Setting a Cron Job

2003-06-05 Thread Ziaur Rahman
Set the EDITOR environment var to your fav. editor. > EDITOR= > export EDITOR Regards, +---+ | Ziaur Rahman | PGP Key: 0x8B686E8E| | http://zia.info|http://pgp.mit.edu| ||

Re: Setting a Cron Job

2003-06-05 Thread Mike Wooding
--- Joseph A Nagy Jr <[EMAIL PROTECTED]> wrote: > Do I need to login as root? No. > I'd like to be able to > have this script be > readable/writable by janjr.apache (what server runs > as and docroot > ownership is set to). If not I can get to csh no > problem. csh is not required. Nor IMH

Re: Setting a Cron Job

2003-06-05 Thread Joseph A Nagy Jr
Campbell, Michael (Contractor) wrote: to set your crontab: 1. logon to root 2. type csh ('C' shell) 3. crontab -e After 3, you should be in crontab... Then set you your jobs ... then exit with save ( :wq! ) Is there any way to use a text editor of my choice? I HATE vi. :'( -- Wielder of th

Re: Setting a Cron Job

2003-06-05 Thread Joseph A Nagy Jr
Campbell, Michael (Contractor) wrote: to set your crontab: 1. logon to root 2. type csh ('C' shell) 3. crontab -e After 3, you should be in crontab... Then set you your jobs ... then exit with save ( :wq! ) Do I need to login as root? I'd like to be able to have this script be readable/wri

RE: Setting a Cron Job

2003-06-05 Thread Campbell, Michael (Contractor)
1:13 AM To: [EMAIL PROTECTED] Subject: Setting a Cron Job Hey there. I have a few scripts I'd like to set crontabs for (I already have one with the machine-update script from http://counter.li.org/, but the script set that automatically). I've read man crontab and crontab -help and ev

Setting a Cron Job

2003-06-05 Thread Joseph A Nagy Jr
Hey there. I have a few scripts I'd like to set crontabs for (I already have one with the machine-update script from http://counter.li.org/, but the script set that automatically). I've read man crontab and crontab -help and even tried to manually edit with crontab -e but I haven't a clue on ho

Re: Using Cron Table

2003-05-31 Thread Bret Hughes
On Fri, 2003-05-30 at 08:26, Jon Haugsand wrote: > * Bret Hughes > > > > is the MAILTO variable set in the crontab? > > MAILTO is the receiver of mail, not the sender. It is not suprising > that mail is sent by the user root, as root is the owner of the cron > daem

Re: Using Cron Table

2003-05-30 Thread Mike Burger
s" password into > the script. > > Hi have the similar script on my SUN Solaris. Under this platform, the script will > be executed by user oracle and I will receive an e-mail from user Oracle, so I'm not > obliged to type the "sys" password into my script. >

Re: Using Cron Table

2003-05-30 Thread Jon Haugsand
* Bret Hughes > On Fri, 2003-05-30 at 07:52, Yanick Quirion wrote: >> Hi Jon >> >> I'm logging on with oracle user which is UID 501. It seems to start >> the cron job with the root user, but I don't know why. For example >> I make this little test: >&

RE: Using Cron Table

2003-05-30 Thread Bret Hughes
On Fri, 2003-05-30 at 07:52, Yanick Quirion wrote: > Hi Jon > > I'm logging on with oracle user which is UID 501. It seems to start the cron job > with the root user, but I don't know why. For example I make this little test: > > 8 51 * * * /bin/ls -als > > I

RE: Using Cron Table

2003-05-30 Thread Yanick Quirion
Hi Jon I'm logging on with oracle user which is UID 501. It seems to start the cron job with the root user, but I don't know why. For example I make this little test: 8 51 * * * /bin/ls -als I receive a message with the result. The listing was the root folder of my oracle user (/h

Re: Using Cron Table

2003-05-30 Thread Paul Barclay
, so I'm not > obliged to type the "sys" password into my script. > > There is a way to force a cron job to run as the user who owns the job? I make some > test with the command "at", and this one seems working fine, but I need a job to run > each da

Using Cron Table

2003-05-30 Thread Yanick Quirion
, the script will be executed by user oracle and I will receive an e-mail from user Oracle, so I'm not obliged to type the "sys" password into my script. There is a way to force a cron job to run as the user who owns the job? I make some test with the command "at", and

Re: Using Cron Table

2003-05-30 Thread Paul Barclay
user oracle and I will receive an e-mail from user Oracle, so I'm not > obliged to type the "sys" password into my script. > > There is a way to force a cron job to run as the user who owns the job? I make some > test with the command "at", and this one seems wo

Re: Using Cron Table

2003-05-30 Thread Jon Haugsand
* Yanick Quirion > I have a little problem when using linux redhat crontab. I want to > run an Oracle SQL script using the oracle user. On the user, I use > command crontab -e and add the line, for example: > > 0 12 * * * /home/oracle/SQL_Script/script1.ksh > > The script will run, but it will be s

Re: reminders via cron

2003-02-28 Thread Anthony E. Greene
Joe Polk wrote: This basically worked. Bash seemed to balk at the punctuation, which I didn't understand. But thanks! Put the string inside 'single quotes' and bash will not attempt to interpret any shell meta-characters it might contain. When you use "double quotes" bash parses the string and pr

Re: reminders via cron

2003-02-27 Thread Joe Polk
This basically worked. Bash seemed to balk at the punctuation, which I didn't understand. But thanks! <> On Thu, 2003-02-27 at 17:08, Jason P Holland wrote: > > cron entry... > > 1 2 * * * /bin/echo "Dentist Appointment at 10:30am!" | mail -s "Den

Re: reminders via cron

2003-02-27 Thread Vidiot
>Okay, I need to send myself a reminder via email. I would think that a >script using /usr/bin/mail would work but mail seems to want too much >interaction. Any ideas? ><> Read the mail man page. You can put everything on the command line, so that interaction is not required. It is done all the

Re: reminders via cron

2003-02-27 Thread Jason P Holland
cron entry... 1 2 * * * /bin/echo "Dentist Appointment at 10:30am!" | mail -s "Dentist Visit Today!" [EMAIL PROTECTED] how is that too much interaction? you can easily script this... Jason > Okay, I need to send myself a reminder via email. I would think that a >

Re: reminders via cron

2003-02-27 Thread Gene Yoo
Joe Polk wrote: Okay, I need to send myself a reminder via email. I would think that a script using /usr/bin/mail would work but mail seems to want too much interaction. Any ideas? <> or you could use at -- <> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Versio

reminders via cron

2003-02-27 Thread Joe Polk
Okay, I need to send myself a reminder via email. I would think that a script using /usr/bin/mail would work but mail seems to want too much interaction. Any ideas? <> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Re: Why doesn't this work in cron?

2003-02-09 Thread Alan Peery
Jeff Bearer wrote: I'm attempting to set some variables with the output of 'date' in my crontab but for some reason they are not being evaluated. YESTERDAY=$(date +%Y%m%d -d yesterday) * * * * * root echo $YESTERDAY When cron runs that $YESTERDAY is set to "date +%Y%m

Re: Why doesn't this work in cron?

2003-02-05 Thread Jeff Bearer
ff Bearer wrote: > I'm attempting to set some variables with the output of 'date' in my > crontab but for some reason they are not being evaluated. > > > YESTERDAY=$(date +%Y%m%d -d yesterday) > * * * * * root echo $YESTERDAY > > When cron runs that $YESTERDAY is

Re: Why doesn't this work in cron?

2003-02-04 Thread Todd A. Jacobs
On 4 Feb 2003, Jeff Bearer wrote: > YESTERDAY=$(date +%Y%m%d -d yesterday) > * * * * * root echo $YESTERDAY As far as I know, cron is not bash, and is not sourcing the crontab, so bash-specific features like command substitution will not work the way you're doing it. Why not j

Re: Why doesn't this work in cron?

2003-02-04 Thread Raymundo M. Vega
what command is root? better see man 5 crontab raymundo Mark Lundy wrote: Try "eval YESTERDAY=$(date +%Y%m%d -d yesterday)" Or, put it in a script that you can run from cron and returns the value you want Jeff Bearer wrote: I'm attempting to set some variables with the outp

Re: Why doesn't this work in cron?

2003-02-04 Thread Tibbetts, Ric
ng evaluated. YESTERDAY=$(date +%Y%m%d -d yesterday) * * * * * root echo $YESTERDAY When cron runs that $YESTERDAY is set to "date +%Y%m%d -d yesterday" Why doesn't this work, and how do I get it to work? -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subjec

Re: Why doesn't this work in cron?

2003-02-04 Thread Mark Lundy
Try "eval YESTERDAY=$(date +%Y%m%d -d yesterday)" Or, put it in a script that you can run from cron and returns the value you want Jeff Bearer wrote: I'm attempting to set some variables with the output of 'date' in my crontab but for some reason they are not bei

Why doesn't this work in cron?

2003-02-04 Thread Jeff Bearer
I'm attempting to set some variables with the output of 'date' in my crontab but for some reason they are not being evaluated. YESTERDAY=$(date +%Y%m%d -d yesterday) * * * * * root echo $YESTERDAY When cron runs that $YESTERDAY is set to "date +%Y%m%d -d yesterday" W

Re: backup script sends large email to root? Is it cron doing it?

2003-01-24 Thread Todd A. Jacobs
On Fri, 24 Jan 2003, Andy wrote: > So I can either put " /dev/null 2>&1 " in the script itself or I can put > it at the end of the crontab file such as this: Yup. Putting it in your script in various places can help you fine-tune what will be emailed (if anything). Putting it in the crontab mean

RE: backup script sends large email to root? Is it cron doing it?

2003-01-24 Thread Todd A. Jacobs
On Thu, 23 Jan 2003, Cowles, Steve wrote: >ls > dirlist 2>&1 I stand corrected. It *is* a little counter-intuitive, though, to have the file descriptors modified AFTER the redirection. -- "Of course I'm in shape! Round's a shape, isn't it?" -- redhat-list mailing list unsubscribe mailt

Re: backup script sends large email to root? Is it cron doing it?

2003-01-24 Thread Andy
>>Do this: >>tar > /dev/null 2>&1 >>That should work. --- >Yes...it's cron. To stop it from mailing you, add this to the end of the > line in root's crontab: > > /dev/null 2>&1 --

RE: backup script sends large email to root? Is it cron doing it?

2003-01-23 Thread Cowles, Steve
> -Original Message- > From: Todd A. Jacobs > Sent: Thursday, January 23, 2003 5:28 PM > Subject: Re: backup script sends large email to root? > Is it cron doing it? > > > On Thu, 23 Jan 2003, Bapi Ghosh wrote: > > > tar > /dev/null 2>

Re: backup script sends large email to root? Is it cron doing it?

2003-01-23 Thread Todd A. Jacobs
27;t. I still don't think it's a good idea to close output, whether using MAILTO or /dev/null, but those are the options. A much better technique would be to *minimize* output so that you only get an email when a cron job fails. A simple way to do this would be: * * * * *

Re: backup script sends large email to root? Is it cron doing it?

2003-01-23 Thread Mike Burger
Yes...it's cron. To stop it from mailing you, add this to the end of the line in root's crontab: > /dev/null 2>&1 On Thu, 23 Jan 2003, Andy wrote: > > I created a backup script that copies our NT Server data drive to our > Redhat box running samba. All wo

Re: backup script sends large email to root? Is it cron doing it?

2003-01-23 Thread Bapi Ghosh
Do this: tar > /dev/null 2>&1 That should work. JaideepDo you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: backup script sends large email to root? Is it cron doing it?

2003-01-23 Thread Andy
> > ( tar cf - /mnt ) | ( cd /usr/local/samba/lib/back ; tar xvpf - ) > > How do I tell cron NOT to send me a summary? (if that is what it is > > doing) > > Cron will send you output from programs that it runs. Close cout/cerr, or > redirect output to /dev/null in your s

Re: backup script sends large email to root? Is it cron doing it?

2003-01-23 Thread Todd A. Jacobs
On Thu, 23 Jan 2003, Andy wrote: > ( tar cf - /mnt ) | ( cd /usr/local/samba/lib/back ; tar xvpf - ) > How do I tell cron NOT to send me a summary? (if that is what it is doing) Cron will send you output from programs that it runs. Close cout/cerr, or redirect output to /dev/null in your

backup script sends large email to root? Is it cron doing it?

2003-01-23 Thread Andy
I created a backup script that copies our NT Server data drive to our Redhat box running samba. All works fine except my root email account gets a 1.2 MB email sent to it every night. This will hog disk space. This is the beginning of the email: Subject: Cron /root/backupscript Message part

RE: Cron jobs not running in RH 8.0

2003-01-06 Thread Christopher Lyon
So you see the jobs running? Also, what does your crontab -e say? -Original Message- From: Jaime Astorquiza [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 11:30 AM To: [EMAIL PROTECTED] Subject: Re: Cron jobs not running in RH 8.0 Nothing. it look like all is going fine

Re: Cron jobs not running in RH 8.0

2003-01-06 Thread Jaime Astorquiza
Nothing. it look like all is going fine. Jaime Astorquiza El Lun 06 Ene 2003 14:40, David Busby escribió: > what does /var/log/cron report? > > > - Original Message - > From: "Jaime Astorquiza" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>

Re: Cron jobs not running in RH 8.0

2003-01-06 Thread David Busby
what does /var/log/cron report? - Original Message - From: "Jaime Astorquiza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 08:02 Subject: Cron jobs not running in RH 8.0 > Hello all, i'm trying to use some cron jobs in my new

Cron jobs not running in RH 8.0

2003-01-06 Thread Jaime Astorquiza
Hello all, i'm trying to use some cron jobs in my new RH 8.0 box. all proceses are running, but no one of the jobs in the crontab works. The at jobs works ok but cron not. Thanks in advance. Jaime Astorquiza -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?su

Re: cron jobs

2002-12-26 Thread Javier Gostling
On Tue, Dec 24, 2002 at 10:15:45AM -0800, Gordon Messmer wrote: > On Tue, 2002-12-24 at 05:46, Javier Gostling wrote: > > > > I also use sarg. I found the daily, weekly and monthly scripts that came > > with it quite defficient, so I wrote my own scripts to do the same job. > > None of the script

Re: cron jobs

2002-12-25 Thread Hauser Marcel
Anthony E. Greene wrote: Make copies of the log files for the analysis tool. :) hehe.. yep... for a 500MB logfile :) Disk space is cheap. 500MB isn't as much as it used to be in terms of percentage of a typical IDE disk. I would avoid altering the workings of things like logrotate. It makes th

Re: cron jobs

2002-12-24 Thread Anthony E. Greene
On 24-Dec-2002/13:55 +0100, Hauser Marcel <[EMAIL PROTECTED]> wrote: >Anthony E. Greene wrote: >> >> Make copies of the log files for the analysis tool. > >:) hehe.. yep... for a 500MB logfile :) Disk space is cheap. 500MB isn't as much as it used to be in terms of percentage of a typical IDE dis

Re: cron jobs

2002-12-24 Thread Cameron Simpson
On 13:20 24 Dec 2002, Hauser Marcel <[EMAIL PROTECTED]> wrote: | Anthony E. Greene wrote: | >On 24-Dec-2002/06:11 +0100, Hauser Marcel <[EMAIL PROTECTED]> wrote: | >>if i have the following in my crontab: | >> | >>01 4 * * * root run-parts /etc/cron.daily | >>05 0 * * * root /etc/something/crontab

Re: cron jobs

2002-12-24 Thread Gordon Messmer
On Tue, 2002-12-24 at 05:46, Javier Gostling wrote: > > I also use sarg. I found the daily, weekly and monthly scripts that came > with it quite defficient, so I wrote my own scripts to do the same job. > None of the scripts are over 1Kb. in size. If there is interest, I can > post them to the lis

Re: cron jobs

2002-12-24 Thread Hauser Marcel
Javier Gostling wrote: Not that tough. I have my squid log files rotate on a weekly basis with compression enabled. For my monthly reports, I just create a big log file by zcatting the old logfiles and catting the current logfile into a temporary logfile to be processed. yup... thought about tha

Re: cron jobs

2002-12-24 Thread Javier Gostling
On Tue, Dec 24, 2002 at 02:29:22PM +0100, Hauser Marcel wrote: > Javier Gostling wrote: > > >Not that tough. I have my squid log files rotate on a weekly basis with > >compression enabled. For my monthly reports, I just create a big log > >file by zcatting the old logfiles and catting the current

Re: cron jobs

2002-12-24 Thread Hauser Marcel
Javier Gostling wrote: Not that tough. I have my squid log files rotate on a weekly basis with compression enabled. For my monthly reports, I just create a big log file by zcatting the old logfiles and catting the current logfile into a temporary logfile to be processed. yup... thought about th

Re: cron jobs

2002-12-24 Thread Javier Gostling
On Tue, Dec 24, 2002 at 01:55:29PM +0100, Hauser Marcel wrote: > :) hehe.. yep... for a 500MB logfile :) Not that tough. I have my squid log files rotate on a weekly basis with compression enabled. For my monthly reports, I just create a big log file by zcatting the old logfiles and catting the c

Re: cron jobs

2002-12-24 Thread Hauser Marcel
Anthony E. Greene wrote: On 24-Dec-2002/13:20 +0100, Hauser Marcel <[EMAIL PROTECTED]> wrote: i have a tool which creates squid reports on a monthly basis. This Tool runs very long (depends how big the log file is for a month of data). If i start it at 0:05 everything is fine until 04:01 where

Re: cron jobs

2002-12-24 Thread Anthony E. Greene
On 24-Dec-2002/13:20 +0100, Hauser Marcel <[EMAIL PROTECTED]> wrote: > >i have a tool which creates squid reports on a monthly basis. This Tool >runs very long (depends how big the log file is for a month of data). If >i start it at 0:05 everything is fine until 04:01 where the logrotate >script

Re: cron jobs

2002-12-24 Thread Hauser Marcel
Anthony E. Greene wrote: On 24-Dec-2002/06:11 +0100, Hauser Marcel <[EMAIL PROTECTED]> wrote: if i have the following in my crontab: 01 4 * * * root run-parts /etc/cron.daily 05 0 * * * root /etc/something/crontab and the /etc/something/crontab scripts takes longer than until 4:01 to finish..

Re: cron jobs

2002-12-24 Thread Anthony E. Greene
On 24-Dec-2002/06:11 +0100, Hauser Marcel <[EMAIL PROTECTED]> wrote: > >if i have the following in my crontab: > >01 4 * * * root run-parts /etc/cron.daily >05 0 * * * root /etc/something/crontab > >and the /etc/something/crontab scripts takes longer than until 4:01 to >finish will the scripts

cron jobs

2002-12-23 Thread Hauser Marcel
Hi all just wondering: if i have the following in my crontab: 01 4 * * * root run-parts /etc/cron.daily 05 0 * * * root /etc/something/crontab and the /etc/something/crontab scripts takes longer than until 4:01 to finish will the scripts in /etc/cron.daily "wait" until /etc/something/cron

Re: Help setting up cron jobs?

2002-12-12 Thread Bret Hughes
On Thu, 2002-12-12 at 08:48, CM Miller wrote: > > > I want to set up two cron jobs so I don't have to do > it myself. > > But, according to my logs, they are not running. > Please tell me what I am doing wrong. > > > > #This one runs updatedb every

Help setting up cron jobs?

2002-12-12 Thread CM Miller
I want to set up two cron jobs so I don't have to do it myself. But, according to my logs, they are not running. Please tell me what I am doing wrong. #This one runs updatedb everyday and is under cron.daily 0 2 * * * updatedb #This one delets all temp files in Mozilla on a daily

Re: Stop receiving mail from Cron!!!

2002-12-12 Thread Mike Burger
Add "> /dev/null 2> &1" to the end of your cron entries. On Thu, 12 Dec 2002, Radu Popa wrote: > Hi! > > Is there any way to stop receiveing mail on the root mail account from scheduled >Cron jobs? > > I use fetchmail for retrieving mails and I se

Re: Stop receiving mail from Cron!!!

2002-12-12 Thread Radu Popa
Yep! That sure worked! Thank you very much! - Original Message - From: "Will Mc Donald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 10:44 AM Subject: Re: Stop receiving mail from Cron!!! > Actually, I've just reread my r

Re: Stop receiving mail from Cron!!!

2002-12-12 Thread Will Mc Donald
Actually, I've just reread my response and I notice you still want to receive mails from cron for all other jobs for the same user? In which case you could probably just redirect all output from that specific command to a logfile or /dev/null. M H DoM M DoW your_fetchmail_command > /de

Re: Stop receiving mail from Cron!!!

2002-12-12 Thread Will Mc Donald
2002 9:38 AM Subject: Stop receiving mail from Cron!!! Hi! Is there any way to stop receiveing mail on the root mail account from scheduled Cron jobs? I use fetchmail for retrieving mails and I set up cron to do a fetchmail regularily. Every time the Cron executes a command sends me a mail.

Stop receiving mail from Cron!!!

2002-12-12 Thread Radu Popa
Hi!   Is there any way to stop receiveing mail on the root mail account from scheduled Cron jobs?   I use fetchmail for retrieving mails and I set up cron to do a fetchmail regularily. Every time the Cron executes a command sends me a mail. I would like to stop this, but only for the

  1   2   3   4   5   >