[Spacewalk-list] spacewalk-repo-sync and cron

lists at xistenz.org lists at xistenz.org
Wed Nov 25 20:31:44 UTC 2009


Hello everyone,

I've recently been working on adding my repo syncs to cron and have
seemingly run into a wall.  For some reason, the script I call from
root's crontab to execute the repo sync fails nightly with "Cannot
retrieve repository metadata (repomd.xml) for repository: <repo>"
errors.  However, the manual execution of that very same script works
without a single issue.

I can't seem to isolate it.  It's root's crontab, so it can't be a  
permissions issue.  The script is just 4 spacewalk-repo-sync commands  
in a row, nothing overly special.  The execution time has been shifted  
around to all different times of day.  A secondary cron that runs  
reposync for errata publishing doesn't have this issue.

Any thoughts?  Does spacewalk-repo-sync require environmental  
variables I'm missing or something?

Thank you for your time,
Jonathan




More information about the Spacewalk-list mailing list