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/*
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 copying.
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 use rsync
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
contents
[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
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
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
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 password when I
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 and use ws_ftp (or some such
program) to ftp all
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
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 even tried to manually
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! )
snip
Do I need to login as root? I'd like to be able to have this script be
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! )
snip
Is there any way to use a text editor of my choice? I HATE vi. :'(
--
Wielder
--- 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
IMHO
Set the EDITOR environment var to your fav. editor.
EDITOR=fav. editor location
export EDITOR
Regards,
+---+
| Ziaur Rahman | PGP Key: 0x8B686E8E|
| http://zia.info|http://pgp.mit.edu|
||
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.
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! )
snip
Is
Ziaur Rahman wrote:
Set the EDITOR environment var to your fav. editor.
EDITOR=fav. editor location
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
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|
|
Hi List
Im trying to run a cron job for the first time (newbe)
I log in as root and enter crontab -e
I get a screen like this
~
~
~/temp/crontab.24249
but I cant seem to enter the info anywhere
if anyone can help please respond thanks
Ed
--
redhat-list mailing list
unsubscribe mailto:redhat
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 List
Im
and you will go into pico.
you can then enter a line like:
10 16 * * * /usr/bin/command
and then save (^x)
regards, Willem
On Tue, 22 Oct 2002, ebinc wrote:
Hi List
Im trying to run a cron job for the first time (newbe)
I log in as root and enter crontab -e
I get a screen like
Im trying to save a edit in pico and vi
for pico I dont know what to enter do I type ^x then hit enter
for vi I dont know how to save at all
Ed
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request;redhat.com?subject=unsubscribe
so much out of it.
JAV
-- Original Message ---
From: ebinc [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tue, 22 Oct 2002 09:07:10 -0400
Subject: cron job save
Im trying to save a edit in pico and vi
for pico I dont know what to enter do I type ^x then hit enter
for vi I dont
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
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
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 in vi
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
-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.
Pico is
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 List
Im trying to run
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 collection
the jobs
the -u user part is optional, and should only be used if you want to edit
the crontab file for a user you are not logged in as.
kristina
On Fri, Sep 20, 2002 at 12:46:14PM -0400, ebinc wrote:
- Hi List
- I'm trying to create a cron job I tryed to read up on it but I cannot
- understand how
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
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
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 and turn it on the user
name wher I want it to run under is is ebinc I tryed to enter
crontab u ebinc -e
Hi Im trying to create and start a cron job
the comand is
0 0 * * * /home/virtual/site3/fst/var/www/cgi-bin/reminder.cgi
send_reminders
I have Ensim on a Red Hat 7.2 the user I want to run under is EBINC
Can somone explain and show exactly what I should type step by step using
ssh for a user
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
On Fri, 2002-09-20 at 21:14, ebinc wrote:
Hi Im trying to create and start a cron job
the comand is
0 0 * * * /home/virtual/site3/fst/var/www/cgi-bin/reminder.cgi
send_reminders
I have Ensim on a Red Hat 7.2 the user I want to run under is EBINC
Can somone explain and show exactly what
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
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?
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 type
/etc/cron.daily
22 4 0 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
#sysstat
0 * * * 0,6 /usr/lib/sa/sa1 600 6
5 19 * * * /usr/lib/sa/sa2 -A
Where and how should I add the new cron job?
What is function of the anacrontab in the /etc directory?
Please
and how should I add the new cron job?
This is simple enough that you don't need a script. A pair of entries in
/etc/crontab will do what you need:
30 08 * * 1-5 root service sendmail start
30 17 * * 1-5 root service sendmail stop
The format of the crontab file is described in crontab(5):
man 5
Hi there
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 file:
[dlee@142 etc]$ vi crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
-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
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
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 (before
Hi
all,
In the process of
making things up as I go along again.
I have created a
logrotate file on the direction of another person to back up my databases on
MySQL. Now I understand that this needs to be called from Cron for it to
work.
Having had a browse
around I see there is a
On Wed, Feb 20, 2002 at 10:39:43AM -, Alexander Shaw wrote:
Having had a browse around I see there is a reference to logrotate in the
cron.daily folder, do I need to add anything extra to ensure that the file I
have added is executed? For the purpose of testing what extra could I add to
Alexander == Alexander Shaw [EMAIL PROTECTED] writes:
Hi all, In the process of making things up as I go along again.
I have created a logrotate file on the direction of another
person to back up my databases on MySQL. Now I understand that
this needs to be called from
user other than root .
-Original Message-From: Alexander Shaw
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 20,
2002 5:40 AMTo: Redhat ListSubject: Newbie - Creating a
Cron Job
Hi
all,
In the process of
making things up as I go along again.
I have created a
logrotate f
etc.
However, even better than that is to allow a bit of fudge in
when the cron goes off... +/- a couple minutes, like this:
3,19,31,44
2,15,33,46
1,14,32,47
*/15
etc. While this doesn't give perfect spacing, it DOES allow
some bit of load balancing to occur, in the event that a
particular cron job
PROTECTED]
Sent: Tuesday, May 01, 2001 10:15 AM
Subject: RE: run cron job every 15 minutes
Actually, while the shorthand method of */15 works, the
OLDER system is better...
After all, who wants to see spikes every 15 minutes as all
of the various cron jobs hit at 0, 15, 30 and 45 past? That's
On Tue, 01 May 2001 08:11:02 John Horne wrote:
On 30-Apr-01 at 15:51:51 rpjday wrote:
in either case, you're better off using the */15 syntax i mentioned
earlier.
Why is that 'better'? I still use the old (?) syntax of '0,15,30,45' which
seems to work just as well.
Because */15 really means
Hi,
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15 * * * * ???
Thank you
mark
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
replace the 15 with 15 30 45 00. This will make the job run every 15
minutes.
Mark Lo wrote:
Hi,
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15 * * * * ???
Thank you
mark
___
Redhat-list mailing
0,15,30,45 * * * * Command
- Original Message -
From: Mark Lo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 30, 2001 11:52 AM
Subject: run cron job every 15 minutes
Hi,
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15
On Mon, 30 Apr 2001, Mark Lo wrote:
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15 * * * * ???
*/15 * * * * /what/ever
LLaP
bero
___
Redhat-list mailing list
[EMAIL PROTECTED]
On Mon, 30 Apr 2001, Mark Lo wrote:
Hi,
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15 * * * * ???
*/15 * * * * .
rday
--
Robert P. J. Day
Eno River Technologies, Durham NC
Unix, Linux and Open Source training
This is Microsoft technical
*/15 * * * * ???
eric
- Original Message -
From: Mark Lo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 30, 2001 10:52 AM
Subject: [RHL] run cron job every 15 minutes
Hi,
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15
On Mon, 30 Apr 2001, Paul Anderson wrote:
replace the 15 with 15 30 45 00. This will make the job run every 15
minutes.
the above syntax won't work -- you need to separate multiple values
for the same field with commas, not spaces. and there can't be any
intervening spaces around the commas
On Monday 30 April 2001 12:52 pm, you wrote:
Hi,
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15 * * * * ???
Thank you
mark
Question - I can hardly read the 'type' on this message. What do I do
to allow me to read this type of text??
On Mon, 30 Apr 2001 23:52:03 +0800, you wrote:
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15 * * * * ???
try
*/15 * * * *
--
[EMAIL PROTECTED]
___
Redhat-list mailing list
[EMAIL PROTECTED]
I meant for each to be on their own line. Other than that you could use
commas if you meant them to be on one line. Kinda old school I don't use
metacharacters or commas, I use individual ines for each entry.
Paul Anderson
rpjday wrote:
On Mon, 30 Apr 2001, Paul Anderson wrote:
replace
*/15 * * * * job
On Mon, 30 Apr 2001, Mark Lo wrote:
Hi,
I would like to know what syntax to run corn job every 15 minutes ??
etc. 15 * * * * ???
Thank you
mark
___
Redhat-list mailing list
[EMAIL PROTECTED]
If you're going to do that, the proper syntax is:
0,15,30,45 * * * * job
On Mon, 30 Apr 2001, Paul Anderson wrote:
replace the 15 with 15 30 45 00. This will make the job run every 15
minutes.
Mark Lo wrote:
Hi,
I would like to know what syntax to run corn job every 15 minutes
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 some cron-relate
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 /etc/cron.hourly files, but I need to run
a cron job that runs every minute.
Any help is welcome,
Regards
* * * * * 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 /etc
The cron files under /etc are fairly unusual, I'm not sure if they're
Red Hat-specific or Linux-specific; the "traditional" crontabs are in
/var/spool/cron/, and that's what will be edited using the crontab
command.
Ali wrote:
Hello every one,
Using Redhat 7.0
How can I crea
It looks to me like the order of cron job executions in RH 'run-parts'
directories depends how the files are read:
for i in $1/*[^~,] ; do
[ -d $i ] continue
...
if [ -x $i ]; then
$i
fi
done
How is this order determined and can I manipulate
It will be alphabetical I believe. The same or ls will return probably.
try it from the command line
for i in $1/*[^~,] ; do
echo $i
done
On Fri, 7 Jan 2000, Alan Mead wrote:
It looks to me like the order of cron job executions in RH 'run-parts'
directories depends how the files are read
72 matches
Mail list logo