[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backup script and python



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 minutes ahead so I can
test the script
it's calling the script ok, because it generates the log above.

environment variables? I think could be it, because when I run it on
hand, it works.
how do I load env vars to the script started by cron?

thanks

--
Henrique G. Abreu
henrique@turbokit.com.br



Reply to: