Autoreply to Re: run backup script by cron question

2002-03-06 Thread vincent li
Your email to vincent li <[EMAIL PROTECTED]> has been rejected, as this account is no longer valid. Please update your records to reflect this. Thanks, ISC IT Staff mailto:[EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://lis

Re: run backup script by cron question

2002-03-06 Thread Werner Puschitz
On Wed, 6 Mar 2002, vincent li wrote: > it seems that it's not cron's problem, i check the > mail message and find the following message: > > >From root Thu Mar 7 13:35:01 2002 > Return-Path: > Received: (from root@localhost) > by cn.iaspec.com (8.11.6/8.11.6) id > g275Z1C19040 >

Re: run backup script by cron question

2002-03-06 Thread vincent li
it seems that it's not cron's problem, i check the mail message and find the following message: >From root Thu Mar 7 13:35:01 2002 Return-Path: Received: (from root@localhost) by cn.iaspec.com (8.11.6/8.11.6) id g275Z1C19040 for root; Thu, 7 Mar 2002 13:35:01 +0800 Date: Thu, 7

Re: run backup script by cron question

2002-03-06 Thread Trevor Hamm
On Wed, 2002-03-06 at 03:07, vincent li wrote: > hi, folks > > i use scp to backup local file to remote machine > without asking authorization by distributing the > publica key,i can run it successfully at command > line,for instance > > #/usr/localbin/scp /usr/localfile remotehost:/backup/ > >

Re: run backup script by cron question

2002-03-06 Thread Ben Logan
On Wed, Mar 06, 2002 at 01:13:33PM +0100, Rick van der Linde wrote: > Did you try placing quotes for the command? > > For example `/usr/localbin/scp /usr/localfile remotehost:/backup/` Quotes shouldn't be necessary and may even mess things up. (I checked my working crontab, and it doesn't use q

RE: run backup script by cron question

2002-03-06 Thread Rick van der Linde
>MAILTO=root >30 23 * * * /usr/localbin/scp /usr/localfile remotehost:/backup/ > >It should run at 11:30 PM every day and mail root the output. Set it up as >root with crontab -e. Test crond with something like : >* * * * * /bin/touch /tmp/crontest > >and see if the file is created. If

RE: run backup script by cron question

2002-03-06 Thread Stephen_Reilly
: service crond restart and try again. steve -Original Message- From: Ben Logan [mailto:[EMAIL PROTECTED]] Sent: 06 March 2002 11:44 To: [EMAIL PROTECTED] Subject: Re: run backup script by cron question Hello, On Wed, Mar 06, 2002 at 01:07:58AM -0800, vincent li wrote: > hi, folks >

Re: run backup script by cron question

2002-03-06 Thread Ben Logan
Hello, On Wed, Mar 06, 2002 at 01:07:58AM -0800, vincent li wrote: > hi, folks > > i use scp to backup local file to remote machine > without asking authorization by distributing the > publica key,i can run it successfully at command > line,for instance > > #/usr/localbin/scp /usr/localfile rem

run backup script by cron question

2002-03-06 Thread vincent li
hi, folks i use scp to backup local file to remote machine without asking authorization by distributing the publica key,i can run it successfully at command line,for instance #/usr/localbin/scp /usr/localfile remotehost:/backup/ but when i put it at crontab, it does not work, i do check the cro