From: Stephen H. <ho...@bu...> - 2012-11-26 13:13:10
|
This is likely a dumb question - but I'm close to implementing and never asked. When importing new/changed - so I shut vufind down, run the import, then bring it back up? Or run the import and just do a restart? -----Original Message----- From: Filipe MS Bento (UA) [mailto:fs...@ua...] Sent: Monday, November 26, 2012 7:57 AM To: Osullivan L. Cc: Tim Fletcher; vuf...@li... Subject: Re: [VuFind-General] Automating updates - cron help Actually, if VuFind is installed in the default "/usr/local/vufind" directory, it shouldn't be necessary to include the full path or define/export $VUFIND_HOME environment variable, as import-marc.sh script checks if all the necessary VuFind related environment variables are set and if they aren't (string length = 0 > "-z" in the if clause bellow) it defines them to the default value. Sample from VuFind 1.x: ------ ################################################## # Set VUFIND_HOME ################################################## if [ -z "$VUFIND_HOME" ] then VUFIND_HOME="/usr/local/vufind" fi ----- Sample from VF2: -------------- if not "!%VUFIND_HOME%!"=="!!" goto vufindhomefound rem VUFIND_HOME not set -- try to call vufind.bat to rem fix the problem before we give up completely if exist vufind.bat goto usevufindbat --------------- So, Tim (et al.) I guess the problem lies somewhere else but like Jonathan suggested and Luke has ( > /var/log/vufind/update_ifind.log 2>&1 ), redirecting the output of the script to a log file, checking should give some insight of what's going on (or not). -- Filipe -------------------------- Filipe Manuel S. Bento | http://about.filipebento.pt/ ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org . |