RE: Logging from cron

2004-03-23 Thread Jason Ferguson
og.6 rsync-log.7 mv rsync-log.5 rsync-log.6 mv rsync-log.4 rsync-log.5 mv rsync-log.3 rsync-log.4 mv rsync-log.2 rsync-log.3 mv rsync-log.1 rsync-log.2 mv rsync-log.0 rsync-log.1 mv rsync-log rsync-log.0 sleep 2 tail -10 rsync-log.0 | mail -s "file_server-rsync-log" $RECIPS Hope this helps

Re: Logging from cron

2004-03-23 Thread Tim
Thanks Brian. :-) Tim *** REPLY SEPARATOR *** On 3/23/2004 at 1:00 PM Brian Cuttler wrote: >We always run rsync from a shell script, sometimes we pipe the >shell script output to mailx or such. I'm sure you can write >it to a log file but don't recall the syntax off hand. > >W

Re: Logging from cron

2004-03-23 Thread Tim
obal Services >desk:3032734776 >[EMAIL PROTECTED] > > > > >"T. Coutu" <[EMAIL PROTECTED]> >Sent by: [EMAIL PROTECTED] >03/23/2004 10:53 AM >Please respond to >coutu3 > > >To >[EMAIL PROTECTED] >cc > >Subject >Logging from cron &g

Re: Logging from cron

2004-03-23 Thread Brian Cuttler
We always run rsync from a shell script, sometimes we pipe the shell script output to mailx or such. I'm sure you can write it to a log file but don't recall the syntax off hand. We never run the single command as a cron task, ie never 0 23 * * 1-5 rsync but do 0 23 * * 1-5 script1.sh I'm sur

Re: Logging from cron

2004-03-23 Thread Tim Conway
3/23/2004 10:53 AM Please respond to coutu3 To [EMAIL PROTECTED] cc Subject Logging from cron Hello, I've just spent several hours going over several Google searches trying to find a way to configure rsync to log into a file named "/var/log/rsync.log". So far, every instanc

Logging from cron

2004-03-23 Thread T. Coutu
Hello, I've just spent several hours going over several Google searches trying to find a way to configure rsync to log into a file named "/var/log/rsync.log". So far, every instance where I've found someone asking about rsync logging remained unanswered (which is kind of weird in itself). As