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