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 if

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
[EMAIL PROTECTED] on Tuesday, September 09, 2003 9:15 AM said: > 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 setu

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 up a cron job to once a week copy the >

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 a cron job to once a w

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). > > I have put in a crontab: > > */30 *

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]> > Sent: Monday, January 06, 2003 08:02 > Subject

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 RH 8.0 box. all > proceses are

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

Re: Cron not running? RedHat 6.2

2002-11-12 Thread fred smith
On Tue, Nov 12, 2002 at 03:43:42PM -0600, Joseph Koenig wrote: > > Joseph Koenig wrote: > >> I've got an old RedHat 6.2 box that just does some IP aliasing and sharing > >> of a DSL line - The system is an old 486 with 32MB of RAM. I recently put a > >> script in cron to run every night. However, t

Re: Cron not running? RedHat 6.2

2002-11-12 Thread Joseph Koenig
> From: Kent Perrier <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 12 Nov 2002 13:44:04 -0600 > To: [EMAIL PROTECTED] > Subject: Re: Cron not running? RedHat 6.2 > > Joseph Koenig wrote: >> I've got an old RedHat 6.2 box that just does so

Re: Cron not running? RedHat 6.2

2002-11-12 Thread Emmanuel Seyman
On Tue, Nov 12, 2002 at 12:48:06PM -0600, Joseph Koenig wrote: > > 01 11 * * * /usr/bin/lynx -dump http://xxx.xxx.xxx.xxx/index.php > > Does anyone have any ideas as to what in the world would cause cron not to > even attempt to execute the script? I also tried putting the lynx command in > a she

Re: Cron not running? RedHat 6.2

2002-11-12 Thread Kent Perrier
Joseph Koenig wrote: I've got an old RedHat 6.2 box that just does some IP aliasing and sharing of a DSL line - The system is an old 486 with 32MB of RAM. I recently put a script in cron to run every night. However, the script isn't being executed. I checked all of the normal things: Making sure

Re: cron job save

2002-10-22 Thread Todd A. Jacobs
On Tue, 22 Oct 2002, ebinc wrote: > I just need some info on saving a edit in either VI or Pico I dont know > how to enter the ^X to exit pico Er, hit your control key and then hit X? -- "The only thing that helps me maintain my slender grip on reality is the friendship I share with my collecti

Re: Cron job

2002-10-22 Thread Dale Kosan
pico is easy, ctrl + x will quit without saving changes,you need to type ctrl + o to write out, then ctrl + x to exit. With vi you type i to enter insert mode, when done hit the escape key, then : enter, then w enter, then q to quit...hope this helps... Sherif D Mohamad wrote: This is a vi e

Re: Cron job

2002-10-22 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22-Oct-2002/14:39 +0200, "Willem van der Walt<[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> wrote: >Hi, >By default you end up in the vi editor. >It is the clasic unix text editor. >I use an editor called joe >but that is not installed by default on rh.

Re: Cron job

2002-10-22 Thread ebinc
I dont think so I save a cron job but when I check crontab -1 it says no root cron job I saved it right pico control x then I answer y but it doesn't save ed > By the looks of it you got your crontab setup by now. > ^x is control and x > If you have problems still, email aggain. > regards, Willem

RE: cron job save

2002-10-22 Thread Ernest E Vogelsinger
At 15:32 22.10.2002, Banze, Andreas said: [snip] >> I just need some info on saving a edit in either VI or Pico I >> dont know how >> to enter the ^X to exit pico >> so I can set a cron Job now [snip] When you end up

RE: cron job save

2002-10-22 Thread Banze, Andreas
> I just need some info on saving a edit in either VI or Pico I > dont know how > to enter the ^X to exit pico > so I can set a cron Job now ^somechar means CTRL together with the given character (press CTRL, hold it, press the character on your keyboard and then release both keys) -- redhat-

Re: cron job save

2002-10-22 Thread ebinc
I just need some info on saving a edit in either VI or Pico I dont know how to enter the ^X to exit pico so I can set a cron Job now Ed -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list

Re: cron job save

2002-10-22 Thread Joe Polk
With all do respect, you really need to get some info on how to use vi. This is the default editor for most every for of UNIX. Yes you can switch editors, yes there are more friendly editors, but not understanding basic vi is going to hamper any further learning of Linux. Go get a good book on

Re: Cron job

2002-10-22 Thread Willem van der Walt<[EMAIL PROTECTED]>
Hi, By default you end up in the vi editor. It is the clasic unix text editor. I use an editor called joe but that is not installed by default on rh. Pico is installed and that is easyer to use than vi for me. before you say crontab -e, first do: export EDITOR=pico and enter. then do crontab -e and

Re: Cron job

2002-10-22 Thread Sherif D Mohamad
This is a vi editor just press i Then enter what you want to enter in the crontab format min hour day-of-month month day-of-week command - Original Message - From: "ebinc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 5:17 AM Subject: Cron job > Hi Lis

Re: Cron editer

2002-09-23 Thread ramakrishna
hi, * Hal Burgiss ([EMAIL PROTECTED]) wrote: > On Fri, Sep 20, 2002 at 01:27:20PM -0400, ebinc wrote: > > Hi List > > I enter this exactly as shown below > > crontab [-u user] -e > > but I keep getting an error I have Red Hat 7.2 > > The '[...]' means optional. If you use the '-u' flag, it wo

Re: RE Cron Job

2002-09-20 Thread Bret Hughes
On Fri, 2002-09-20 at 22:42, ebinc wrote: > When I log in via ssh typing crontab -u ebinc -e it says user unknown > I Know it exist could it be that Im useing ENSIM if I use the user name > ensim runs under would that be ok? > also once I get the screen that says insert at the bottom do I just typ

Re: RE Cron Job

2002-09-20 Thread ebinc
When I log in via ssh typing crontab -u ebinc -e it says user unknown I Know it exist could it be that Im useing ENSIM if I use the user name ensim runs under would that be ok? also once I get the screen that says insert at the bottom do I just type that command then how do I close and save it?

RE Cron Job

2002-09-20 Thread ebinc
I'm useing ensim control panel and my path to the cgi-script that I need run is /home/virtual/site3/fst/var/www/cgi-bin/reminder.cgi I should put ebinc in frount of that? that should work as log as you use a -u instaed of a u in the crontab command line. Alternatively you can run it in the sys

Re: Cron Job example

2002-09-20 Thread Steve Buehler
You need a - in front of your u crontab -u ebinc -e Steve At 08:36 PM 9/20/2002 -0400, you wrote: >Hi List >Im trying to set up a cron job the cron exaample is >0 0 * * * /home/virtual/site3/fst/var/www/cgi-bin/remindme.cgi >send_reminders >can somone explain, step by step how to enter this

Re: Cron editer

2002-09-20 Thread Hal Burgiss
On Fri, Sep 20, 2002 at 01:27:20PM -0400, ebinc wrote: > Hi List > I enter this exactly as shown below > crontab [-u user] -e > but I keep getting an error I have Red Hat 7.2 The '[...]' means optional. If you use the '-u' flag, it would be typed as: crontab -u user -e without the '[]'. No

Re: Cron editer

2002-09-20 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20-Sep-2002/13:27 -0400, ebinc <[EMAIL PROTECTED]> wrote: >Hi List >I enter this exactly as shown below >crontab [-u user] -e >but I keep getting an error I have Red Hat 7.2 Login as the user who's crontab you need to edit. Then type: cronta

Re: Cron editer

2002-09-20 Thread k clair
I'm sorry, I wasn't specific enough. The square brackets were meant to indicate an optional argument, not to be typed in on the command line. If you are logged in as the user that the cron job should run as, all you need to do is: crontab -e If, however, you are logged in as root, for exampl

Re: Cron job

2002-09-20 Thread k clair
Well, you have to be logged in to the computer that you want the cron job to run on in order to use the crontab command. On Fri, Sep 20, 2002 at 01:08:14PM -0400, ebinc wrote: - Hi thanks - I enter the information into the cron direct by crontab [-u user] -e then - enter it via ssh? - so I can d

Re: Cron job

2002-09-20 Thread ebinc
Hi thanks I enter the information into the cron direct by crontab [-u user] -e then enter it via ssh? so I can delete the sample cron file I have in the cgi-bin? Ed There is a file that cron uses that lists all the cron jobs. You shouldn't edit this file directly, but you should use the cronta

Re: Cron job

2002-09-20 Thread k clair
There is a file that cron uses that lists all the cron jobs. You shouldn't edit this file directly, but you should use the crontab command to edit it. So: crontab [-u user] -l### will list the current cron jobs crontab [-u user] -e### will drop you into an editor to edit the jo

Re: cron job doesn't seem to be running?

2002-08-29 Thread Chris Watt
At 17:40 2002/08/29 -0700, you wrote: >0-59/5 * * * * root /usr/bin/mrtg /etc/mrtg/mrtg.cfg > >00 2 * * sun /root/scripts/virusScan.sh >00 1 * * sun /root/scripts/backup.sh Cronjobs specified in the main crontab need to have the username they are to execute as inserted as the sixth field (befo

RE: cron job doesn't seem to be running?

2002-08-29 Thread Desmond Lee
Hi guys I just put the scripts i wanted to run weekly in the /etc/cron.weekly folder. I put them in the hourly folder just to check and make sure that it would work and it did. however, i think you need to do something differently for getting a cron job to run for a specifi user... is that corre

Re: cron job doesn't seem to be running?

2002-08-29 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 29 August 2002 08:40 pm, Desmond Lee wrote: > I have 2 script, one to do a back up and another to run a virsu scan on > 2 folders. I've scheduled them to run every sunday in my /etc/crontab > file. > > This is what i got in my /etc/contab

Re: Cron Security

2002-08-02 Thread Bret Hughes
On Fri, 2002-08-02 at 11:33, Trinity wrote: > > Hello everyone: > > I just have a quit Q, it is safe to have all the scripts in the > cron.* directories set to > a "rwx-r-x-r-x" premision? or I have to set them to "700" ? > > tanks! Should be ok. unless you have something in

Re: Cron

2002-06-23 Thread Emmanuel Seyman
On Sun, Jun 23, 2002 at 05:39:17PM -0500, Jesse Angell wrote: > Hello, > When cron runs a script it emails the output to that user. > This annoys the users as it makes no since to them, anyway I > can modify the script to do something else with the output? You asked this question on Friday an

Re: Cron

2002-06-23 Thread Bret Hughes
On Sun, 2002-06-23 at 17:39, Jesse Angell wrote: > Hello, > When cron runs a script it emails the output to that user. This annoys the users >as it makes no since to them, anyway I can modify the script to do something else >with the output? > yes this was discussed in the last week or so

Re: Cron

2002-06-22 Thread Bret Hughes
On Fri, 2002-06-21 at 20:10, tc lewis wrote: > > you can set MAILTO within the cron entries. i'm not sure if there's a way > to set it globally or turn off mailing altogether. > > -tcl. > You can also modify the cron job to either direct output to a log file or /dev/null if you never need to

Re: Cron

2002-06-22 Thread Wolfgang Pfeiffer
On Jun 21, 2002, 19:02 (-0500) ABrady wrote: > On Fri, 21 Jun 2002 18:13:36 -0500 > "Jesse Angell" <[EMAIL PROTECTED]> wrote: > > > Cron always outputs to my clients by emailing them. > > this annoys them as it makes no since to them. > > How do I disable the emailing cron does? > > You can chang

Re: Cron

2002-06-21 Thread tc lewis
you can set MAILTO within the cron entries. i'm not sure if there's a way to set it globally or turn off mailing altogether. -tcl. On Fri, 21 Jun 2002, Jesse Angell wrote: > Cron always outputs to my clients by emailing them. > this annoys them as it makes no since to them. > How do I disabl

Re: Cron

2002-06-21 Thread ABrady
On Fri, 21 Jun 2002 18:13:36 -0500 "Jesse Angell" <[EMAIL PROTECTED]> wrote: > Cron always outputs to my clients by emailing them. > this annoys them as it makes no since to them. > How do I disable the emailing cron does? You can change /etc/crontab and make the obvious line read MAILTO="" No

Re: cron

2002-05-27 Thread Paul Branston
On Mon, May 27, 2002 at 03:51:40PM +0400, madhvi wrote: > Hello , > I added the user root to the crontab file below : - > > 50 13 * * 1 3 5 root /scripts/backup/test.sh > 10 14 * * 1 3 5 root /scripts/backup/twiceweekly.sh > 00 14 * * 1 root /scripts/backup/test1.sh you have too many argume

Re: cron

2002-05-27 Thread rpjday
On Mon, 27 May 2002, madhvi wrote: > Hello , > I added the user root to the crontab file below : - > > 50 13 * * 1 3 5 root /scripts/backup/test.sh once again, if you want to specify multiple values for any of those fields, you need to separate them with commas, as in 50 13 * * 1,3,5 root ...

Re: cron

2002-05-27 Thread madhvi
/ftpaccess_test - Original Message - From: "Huter.Liu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 12:24 PM Subject: Re: cron > hi,madhvi! > I'm wondering maybe you forget to add you name before shell command. > 50

Re: cron

2002-05-27 Thread Huter.Liu
hi,madhvi! I'm wondering maybe you forget to add you name before shell command. 50 15 30 * * /scripts/backup/monthly.sh ^_^ I don't know what version of linux are you using.I use 7.3 and 7.2,I've added one line to my crontab file and it work fine:-) [root@linux etc]

Re: Cron

2002-02-07 Thread Steve Lee
i have no clue on this. will write again about this soon. On Thu, 7 Feb 2002, Alan Peery wrote: > > Steve Lee wrote: > > > i don't have /etc/cron.allow or /etc/cron.deny > > so all users will be able to run cron. > > > > What happened differently is that i have > > setup all user accounts to

Re: Cron

2002-02-07 Thread Alan Peery
Steve Lee wrote: > i don't have /etc/cron.allow or /etc/cron.deny > so all users will be able to run cron. > > What happened differently is that i have > setup all user accounts to auth through an > LDAP database. Maybe this may be the problem. > I'm not sure if NIS has this problem also. > Cr

Re: Cron

2002-02-05 Thread Steve Lee
i have restarted cron and it si running. i even see it running the cron in the logs but no output from my script, or the other scripts. On Tue, 5 Feb 2002, Enrique Bory Simon wrote: > are you running crond ? > type "service crond status" to find out > Any way type "service crond restart" > >

Re: Cron

2002-02-05 Thread Enrique Bory Simon
are you running crond ? type "service crond status" to find out Any way type "service crond restart" - Original Message - From: "Steve Lee" <[EMAIL PROTECTED]> To: "Steve Lee" <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 11:57 AM Subject: Cron > all of a sudden my cron does no

Re: Cron

2002-02-05 Thread Steve Lee
i don't have /etc/cron.allow or /etc/cron.deny so all users will be able to run cron. What happened differently is that i have setup all user accounts to auth through an LDAP database. Maybe this may be the problem. I'm not sure if NIS has this problem also. if restart cron. it will run the fir

Re: Cron

2002-02-05 Thread Lynne Lawrence
Steve Lee wrote: > all of a sudden my cron does not run any of the cron > for every users. even root. how do i trouble shoot > this. the logs in /var/log/cron say it is running > but nothing actually is runing. > > i even setup a dummy test script that would touch > a the date to a directory.

Re: Cron to auto-mail myself an attachment

2001-12-24 Thread Emmanuel Seyman
On Mon, Dec 24, 2001 at 05:56:05PM +0600, [EMAIL PROTECTED] wrote: > > I need to have cron to auto mail me an attachment once a week. > is it something like this ? > mimencode file1 | qmail-inject [EMAIL PROTECTED] I use mutt in these cases. mutt -a file1 [EMAIL PROTECTED] Emmanuel

Re: cron log sa

2001-11-12 Thread Jesus Ortega (a.k.a. Nitebirdz)
On Sat, 10 Nov 2001, Steve Lee wrote: > Cron launches this script every so often > and my email fills up with a lot of these > below. How can a interpret this. or is > this normal. > > Invalid system activity file: /var/log/sa/sa10 > > It's the accounting application. Take a look at the manu

Re: cron not working after date screw up

2001-03-19 Thread Gustav Schaffter
Clumsy of me not to mention. :-) Yes, to both. Regards Gustav Hal Burgiss wrote: > > On Mon, Mar 19, 2001 at 09:42:39PM +0100, Gustav Schaffter wrote: > > I don't really know how it happened, but my date was really screwed > > up a few days ago. It suddenly was set to September 20, 2001. > > >

Re: cron not working after date screw up

2001-03-19 Thread Hal Burgiss
On Mon, Mar 19, 2001 at 09:42:39PM +0100, Gustav Schaffter wrote: > I don't really know how it happened, but my date was really screwed > up a few days ago. It suddenly was set to September 20, 2001. > > I have reset both the HW clock (running UTC) and of course the SW > clock. > > But since the

Re: Cron job in Redhat 7.0

2001-03-01 Thread Thang Nguyen
Hi: edit your crontab by type: crontab -e to remove: crontab -r - Original Message - From: "Michael R. Jinks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 8:34 PM Subject: Re: Cron job in Redhat 7.0 > You need to read s

Re: Cron job in Redhat 7.0

2001-02-28 Thread Michael R. Jinks
You need to read some cron-related manpages. crontab(1) will tell you about the command for editing a user's cron jobs. crontab(5) will tell you about the format of the tables themselves. "man 1 crontab" will get you the first one, "man 5 crontab" will get you the second. The cron files under

Re: Cron job in Redhat 7.0

2001-02-28 Thread Mike Burger
* * * * * chmod 666 /path/to/file/filenames 666 should be replaced by whichever permissions you need to set. On Wed, 28 Feb 2001, Ali wrote: > Hello every one, > > Using Redhat 7.0 > How can I create a cron job that runs every minute > to change the permissions of some files? > > I know about

Re: Cron error: run-parts /etc/cron.weekly

2001-01-26 Thread Matthew Melvin
On Sat, 27 Jan 2001 at 9:36am (+0800), Raul S. Bucad wrote: > hi, > I hope someone could help me on this. My server always hast this > error, "Read file error: ./rec.1 No such file or directory". Every week > > I receive this error from my root mail. How can I solve this problem? > I don't

Re: CRON Question - Help Please

2000-06-10 Thread Cameron Simpson
On Thu, Jun 08, 2000 at 11:13:59PM -0400, Steven W. Orr wrote: | On Thu, 8 Jun 2000, Kirk Whiting wrote: | =>Im trying to do a backup job to my Jaz Drive with cron and Im having | =>difficulty. The command Im using is: | =>38 08 * * 1 find /home/* -print | cpio -orcvdumB > /mnt/jaz | =>I keep gett

Re: [REDHAT] Re: CRON Question - Help Please

2000-06-09 Thread David Kramer
On Fri, 9 Jun 2000, Alan Mead wrote: > > At 10:13 PM 6/8/00 , Steven W. Orr wrote: > > >On Thu, 8 Jun 2000, Kirk Whiting wrote: > > > >=>Im trying to do a backup job to my Jaz Drive with cron and Im having > >=>difficulty. The command Im using is: > >=> > >=>38 08 * * 1 find /home/* -print | cp

Re: CRON Question - Help Please

2000-06-09 Thread Alan Mead
At 10:13 PM 6/8/00 , Steven W. Orr wrote: >On Thu, 8 Jun 2000, Kirk Whiting wrote: > >=>Im trying to do a backup job to my Jaz Drive with cron and Im having >=>difficulty. The command Im using is: >=> >=>38 08 * * 1 find /home/* -print | cpio -orcvdumB > /mnt/jaz >=> >=>I keep getting " broken

Re: CRON Question - Help Please

2000-06-08 Thread Steven W. Orr
The broken pipe message can safely be ignored. What's happening is that the find command is finishing before the cpio command has processed th eend of file. It's normal. Just ignore it. -- -Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED] -Stranger things have happened but

Re: CRON Question - Help Please

2000-06-08 Thread Duane Clark
> Im trying to do a backup job to my Jaz Drive with cron and Im having > difficulty. The command Im using is: > > 38 08 * * 1 find /home/* -print | cpio -orcvdumB > /mnt/jaz > > I keep getting " broken pipe " > > Any help would be greatly appreciated I do a very similar thing, but I use the m

Re: cron question

2000-05-29 Thread fred smith
On Mon, May 29, 2000 at 10:50:18AM -0400, jack wallen jr wrote: > with Red Hat 6.3 i want to be able to use cron (in conjunction with my X10 > remotes) to turn something on every minute and off every other minute. with crontab >-e (as > user) would the following entries work: > > */2 * * * * US

Re: cron question

2000-05-29 Thread jack wallen
thank you so much. now my reef tank has a pseudo wave maker thanks to Linux, X10, and cron. one last thing: in root's log i'm getting this error: Subject: Cron /usr/local/bin/br --house=B -n 1 ioctl: Input/output error it's only during the 'on' cron job (not the 'off' job). what would be c

Re: cron question

2000-05-29 Thread Anthony E. Greene
jack wallen jr wrote: > > with Red Hat 6.3 i want to be able to use cron (in conjunction with my X10 > remotes) to turn something on every minute and off every other minute. with crontab >-e (as > user) would the following entries work: > > */2 * * * * USERNAME /usr/local/bin/br -n 3 > */1.5 *

RE: cron question

2000-05-29 Thread Uncle Meat
On 29-May-2000 jack wallen jr opined: > with Red Hat 6.3 i want to be able to use cron (in conjunction with my > X10 > remotes) to turn something on every minute and off every other minute. > with crontab -e (as > user) would the following entries work: > > */2 * * * * USERNAME /usr/local/bin/b

Re: Cron but only with ppp up

2000-04-20 Thread Gustav Schaffter
Thanks go out to everyone having answered this question. I've had many alternative solutions proposed. In fact, I chose to ask 'route' for the information. (Courtesy, Edward Dekkers.) Thanks again for all your help. You're a fantastic source of knowledge with a remarkable willingness to share yo

Re: Cron but only with ppp up

2000-04-20 Thread Anthony E. Greene
Gustav Schaffter wrote: > I know I've seen a recipe for this somewhere sometime. > > I want to let cron execute a script on regular intervals. This script > shall look upon the state of my serial port ppp0. If ppp0 is up, then > certain commands should be executed, otherwise not. This may not be

Re: Cron but only with ppp up

2000-04-20 Thread Bret Hughes
Gustav - I have seen people use ifconfig ppp0 to tell if the interface is up. It will also give you the ip address if it changes. There may also be a file in the /var or /proc trees somewhere I just don't know. The ifconfig will run anywhere without having to modify any other config scripts.

Re: Cron but only with ppp up

2000-04-20 Thread Brian Ashe
Hello Gustav, The only thing I've seen checks it like this... ***Begin* NO="" is_ppp_active=`ifconfig ppp0 | grep "UP POINTOPOINT RUNNING"` if [ "$is_ppp_active" != "$NO" ] ; then **End It may not be that ele

Re: Cron but only with ppp up

2000-04-19 Thread Mikkel L. Ellertson
At 07:51 PM 4/18/00 +0200, Gustav Schaffter wrote: >Hi, > >I know I've seen a recipe for this somewhere sometime. > >I want to let cron execute a script on regular intervals. This script >shall look upon the state of my serial port ppp0. If ppp0 is up, then >certain commands should be executed, ot

Re: Cron run-parts /etc/cron.weekly

2000-02-23 Thread Tony Molloy
On Wed, 23 Feb 2000, erik wrote: > Hi, > > I am getting some errors when my weekly cron job runs. I get this error: > > > Read file error: ./rec.1 No such file or directory > > I think its because the name of the file should be rc.1 but I dont > know where to change it. Any ideas? > > TIA,

Re: Cron run-parts /etc/cron.weekly

2000-02-22 Thread Ron Golan
On Wed, Feb 23, 2000 at 01:05:54AM -0500, erik wrote: > Hi, > > I am getting some errors when my weekly cron job runs. I get this error: > > > Read file error: ./rec.1 No such file or directory > > I think its because the name of the file should be rc.1 but I dont > know where to change it.

Re: Cron problems:No such file or directory

2000-02-17 Thread Robert D. Crawford
-BEGIN PGP SIGNED MESSAGE- Mon Dieu! How could have I have overlooked such a small detail? Well, all scripts have been fixed, and now we wait for 9:30 AM to roll around to see if there are any more problems to hammer out. Thank you. <===> Ro

Re: Cron problems:No such file or directory

2000-02-16 Thread Vidiot
>Following is the script that is called. > >#!\bin\bash Excuse me, but you are in the Unix world, not the DOS world. It is "#!/bin/bash". MB -- e-mail: [EMAIL PROTECTED] Bart: Hey, why is it destroying other toys? Lisa: They must have programmed it to eliminate the competition. Bart:

  1   2   >