[Techtalk] cron problem running a script

Angelina Carlton brat at magma.ca
Wed Apr 13 10:14:42 EST 2005


On Wed, Apr 13, 2005 at 05:07:57AM +0530, Devdas Bhagat wrote:
 
> Perhaps calling the application with #!/usr/bin/python2.3 -v will help.
> alternatively, call it with the verbosity argument set to something  >
> 0.
> 
> /usr/bin/rdiff-backup --verbosity=4 .....
> 
> This writes to a file named backup.log at 
> $backup_directory/rdiff-backup-data/backup.log
> 
> Looking at that may be helpful.

Well running the actual /usr/bin/rdiff-backup /home/aec
/backup/armarda/home/aec/ ... inside cron itself works fine.

Basically without the script and with  2>&1 | mail aec tacked on the
end sends me a log of the rdiff activity.

That is ok, for the host "armarda" but a new problem arose with my other hosts
in that although the packages are avbailable in Woody and Sid and
Sarge, woody's version of python prohibits rdiff-backup from being
able to back up from a woody host to a sarge server. ugh.

I didnt find this out until I finished testing a local backup first,
so I can either back up the woody server manually until Sarge is
released or choose some other backup software that we discussed on the
list late last year. 

Thank you though for all the help! I definately understand cron a
litte better thats for sure :) 

 
-- 
Angelina Carlton


More information about the Techtalk mailing list