Updates from SPIRES to INSPIRE

Nightly updates flow from SPIREs to INSPIRE, allowing us to maintain data in SPIRES while editing tools are still under development.

SPIRES side

On SPIRES side, SPIRES nightly generates result.today files with the list of modified records for the day.

In the crontab of tcb (in tcb not slaclib because we think there is a permissions issue:TODO) we have:

sunspi4;1800 11 23 * * * /afs/slac/g/library/inspire/data/spires_to_inspire.sh 
sunspi4;400 09 23 * * * cp /u2/spires/slaclib/inspire/*.today /afs/slac/g/library/inspire/data/

The second line moves result.today tot he right place (permissions issue, I think, maybe this can be eliminated)

The first line is a shell script that deconstructs the today files into small chunks and then runs

 /afs/slac/g/library/bin/spiresdump.pl -tinspire_update -s ${file};

on each of the files. This actually creates the xml output files from SPIRES, which are then stored in:


INSPIRE side

on prod (pcudssw1506.cern.ch) we have in root crontab:

# INSPIRE update:
23 09 * * * /usr/bin/sudo -u apache /afs/cern.ch/project/inspire/updates/inspire_update.sh
</verabatim>

Which is the shell script that does the fetching of the files,  bibconvert using xslt and the bibupload of the records.

to ssh to CERN:

ssh <account>@lxplus.cern.ch

then ssh pcudssw1506  (or 1508 for DEV)




-- Main.TravisBrooks - 16-Sep-2010
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-09-17 - MikeSullivan
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Inspire All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback