Re: backup script and python

2007-05-05 Thread Henrique G. Abreu
Thanks Wei Chen, it worked now! I was really environment variables problem. Included in crontab, just as shown in man 5 crontab thanks everybody. On 5/5/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: On Sat, May 05, 2007 at 07:22:11AM -0300, Henrique G. Abreu wrote: > runing on cron, I ca

Re: backup script and python

2007-05-05 Thread Andrew Sackville-West
On Sat, May 05, 2007 at 07:22:11AM -0300, Henrique G. Abreu wrote: > runing on cron, I can't see any error message. All I got is the log I > generate on the script: > >BEGINNING DAILY BACKUP ZENOSS > >BACKUP ZENOSS WITH TROUBLE - ERROR! well, this error message doesn't tell us anything. maybe you

Re: backup script and python

2007-05-05 Thread Wei Chen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrique G. Abreu wrote: > runing on cron, I can't see any error message. All I got is the log I > generate on the script: >> BEGINNING DAILY BACKUP ZENOSS >> BACKUP ZENOSS WITH TROUBLE - ERROR! > > the entry in my cron is: > 35 13 * * * root /usr/loc

Re: backup script and python

2007-05-05 Thread Henrique G. Abreu
runing on cron, I can't see any error message. All I got is the log I generate on the script: BEGINNING DAILY BACKUP ZENOSS BACKUP ZENOSS WITH TROUBLE - ERROR! the entry in my cron is: 35 13 * * * root /usr/local/zenoss/scripts/backup_zenoss.sh I change hour and minute every test, to few minute

Re: backup script and python

2007-05-04 Thread Wei Chen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Sackville-West wrote: > On Fri, May 04, 2007 at 01:42:03PM -0300, Henrique G. Abreu wrote: >> hi, I've made a very simple script to backup zope files, it work just >> fine when I launch it from shell, then I inserted it in cron so it >> runs aut

Re: backup script and python

2007-05-04 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/04/07 11:42, Henrique G. Abreu wrote: > hi, I've made a very simple script to backup zope files, it work just > fine when I launch it from shell, then I inserted it in cron so it > runs automatically. But runned by cron, it only returns error. Be

Re: backup script and python

2007-05-04 Thread Andrew Sackville-West
On Fri, May 04, 2007 at 01:42:03PM -0300, Henrique G. Abreu wrote: > hi, I've made a very simple script to backup zope files, it work just > fine when I launch it from shell, then I inserted it in cron so it > runs automatically. But runned by cron, it only returns error. Bellow > my script, and th