Cron jobs and Daemons

Koha is supported by a number of background tasks. These tasks can either be periodically executed tasks (cron jobs) or continuously running task called daemons.

A cron job is a Linux command for scheduling a command or script on your server to complete repetitive tasks automatically. Scripts executed as a cron job are typically used to modify files or databases; however, they can perform other tasks that do not modify data on the server, like sending out email notifications.

A daemon is a Linux command that is typically started when the system is booted and runs in the background doing some function. The database used by Koha (either mysql or mariadb) is a daemon as is the webserver (typically Apache).

Koha has many cron jobs in place that you can enable (search engine indexing, overdue notice generation, data cleanup and more), and a few daemons. This chapter will explain those for you.

क्रॉनटैब उदाहरण

कोहा क्रोंटैब का एक उदाहरण पाया जा सकता है misc/cronjobs/crontab.example

उदाहरण में सबसे अधिक इस्तेमाल किए जाने वाले cronjobs के लिए नमूना बॉयलरप्लेट cronjob प्रविष्टियां शामिल हैं।

Cron jobs

नीचे स्थानों जो misc/ में डालता है एक देव स्थापित मान लें, आप एक मानक स्थापित है, तो आप bin/ तो देखना चाहता हूँ इन फ़ाइलों के लिए आप उन्हें misc/ में नहीं ढूँढ सकते

आपात प्रति / आपद नक़ल

Daily backup

स्क्रिप्ट पथ: misc/cronjobs/backup.sh

Does: creates a daily backup of the Koha database.

फ्रीक्वेंसी सुझाव: दैनिक

परिचालन

Holds queue

स्क्रिप्ट पथ: misc/cronjobs/holds/build_holds_queue.pl

Does: updates holds queue report

Required by: Holds queue report

फ्रीक्वेंसी सुझाव: हर 1-4 घंटे

विवरण:

  • एक स्क्रिप्ट है कि समय समय पर चलाया जाना चाहिए अगर आपके पुस्तकालय प्रणाली उधारकर्ताओं के लिए जगह पर मुस्तैद रखती अनुमति देता है। यह स्क्रिप्ट का फैसला करता है जो पुस्तकालय एक दिया पकड़ अनुरोध को पूरा करने के लिए जिम्मेदार होना चाहिए।

    It's behavior is controlled by the system preferences StaticHoldsQueueWeight and RandomizeHoldsQueueWeight.

    यदि आप नहीं चाहते हैं कि आपके सभी पुस्तकालयों को ऑन-शेल्फ में भाग लेने की प्रक्रिया पूरी हो, तो आपको उन पुस्तकालयों को सूचीबद्ध करना चाहिए जो *do* सभी भाग लेने वाली लाइब्रेरी के शाखा कोडों को इनपुट करके अल्पविराम से अलग करते हुए प्रक्रिया में भाग लेते हैं (उदा. "MPL,CPL,SPL,BML" आदि. ).

    डिफ़ॉल्ट रूप से, होल्ड कतार उत्पन्न की जाएगी जैसे कि सिस्टम पहले संभवतः पिकअप लाइब्रेरी में पहले से मौजूद आइटमों का उपयोग करके पूर्ति करने का प्रयास करेगा। यदि होल्ड भरने के लिए पिकअप लाइब्रेरी में कोई आइटम उपलब्ध नहीं है, तो build_holds_queue.pl बनाएं, फिर StaticHoldsQueueWeight में परिभाषित पुस्तकालयों की सूची का उपयोग करें। यदि RandomizeHoldsQueueWeight अक्षम है (जो डिफ़ॉल्ट रूप से है), तो स्क्रिप्ट StaticHoldsQueueWeight सिस्टम वरीयता में शाखाओं को व्यवस्थित करने के क्रम में पूर्ति अनुरोध असाइन करेगा।

    उदाहरण के लिए, अगर आपके सिस्टम अलग आकार (छोटे, मध्यम और बड़े) के तीन पुस्तकालयों, है और आप बोझ की पूर्ति रखती छोटे पुस्तकालयों से पहले बड़े पुस्तकालयों पर होना चाहते हैं, तो आप StaticHoldsQueueWeight मेड की तरह कुछ देखना चाहता हूँ जाएगा ,"LRG,MED,SML".

    आप अपने पुस्तकालय प्रणाली भर में समान रूप से बाहर फैल होने की बोझ चाहते हैं पूर्ति होल्ड की, बस RandomizeHoldsQueueWeight सक्षम करें। जब इस प्रणाली वरीयता सक्षम है, जिस क्रम में पुस्तकालयों पर एक शेल्फ होल्ड को पूरा करने का अनुरोध किया जाएगा हर बार सूची पुनर्जीवित है बेतरतीब दिया जाएगा।

    StaticHoldsQueueWeight खाली छोड़ना इस समय contraindicated है। ऐसा करने सेbuild_holds_queue स्क्रिप्ट को RandomizeHoldsQueueWeight को अनदेखा करने का कारण बन जाएगा, जिससे स्क्रिप्ट को पूर्णता को यादृच्छिक रूप से अनुरोध करने का अनुरोध नहीं किया जा सकता है, लेकिन वर्णानुक्रम के क्रम में।

Expired holds

स्क्रिप्ट पथ: misc/cronjobs/holds/cancel_expired_holds.pl

Does: cancels holds where the user has set an expiration date. If the library is using the ExpireReservesMaxPickUpDelay and ExpireReservesMaxPickUpDelayCharge preferences then this script will also cancel holds that have been sitting on the hold shelf for too long and will (if the library does) charge the patron for not picking up the hold.

फ्रीक्वेंसी सुझाव: दैनिक

Unsuspend holds

स्क्रिप्ट पथ: misc/cronjobs/holds/auto_unsuspend_holds.pl

Does: checks to find holds that should no longer be suspended and removes the suspension if the AutoResumeSuspendedHolds preference is set to 'allow'. This puts the patron back in to the queue where they were when the hold was suspended.

फ्रीक्वेंसी सुझाव: दैनिक

जुर्माना

स्क्रिप्ट पथ: misc/cronjobs/fines.pl

Does: calculates and posts fines to patron accounts.

द्वारा आवश्यक: finesMode प्रणाली वरीयता

फ्रीक्वेंसी सुझाव: रात

स्टेटिक जुर्माना

स्क्रिप्ट पथ: misc/cronjobs/staticfines.pl

Does: calculates and charges overdue fines to patron accounts

Note If the Koha system preference 'finesMode' is set to 'production', the fines are charged to the patron accounts. If set to 'test', the fines are calculated but not applied.

** नोट ** छुट्टियों पर जुर्माना लागू नहीं किया जाएगा।

Long overdues

स्क्रिप्ट पथ: misc/cronjobs/longoverdue.pl

क्या: एक अलग खो गया स्थितियों के लिए आइटम को बदलने के लिए देरी निर्दिष्ट करें, और वैकल्पिक रूप से उनके लिए चार्ज आइटम रिकॉर्ड पर सूचीबद्ध प्रतिस्थापन मूल्य का उपयोग करने की अनुमति देता है।

फ्रीक्वेंसी सुझाव: रात

नोट

Staff can control some of the parameters for the longoverdue cron job with the DefaultLongOverdueLostValue and DefaultLongOverdueChargeValue preferences.

Track total checkouts

स्क्रिप्ट पथ:: misc/cronjobs/update_totalissues.pl

करता है: ऐतिहासिक समस्या आंकड़ों के आधार पर चेकआउट के नवीनतम मिलान के साथ डेटाबेस में biblioitems.totalissues फ़ील्ड को अद्यतन करता है।

फ्रीक्वेंसी सुझाव: रात

चेतावनी

अपने डेटाबेस सर्वर पर समय अपने कोहा सर्वर पर समय से मेल नहीं खाता, तो आप पाएंगे कि लेने के लिए खाते में की आवश्यकता होगी, और शायद वृद्धिशील अद्यतन करने के लिए --interval तर्क के बजाय --since तर्क का उपयोग करें।

नोट

यदि प्रदर्शन की चिंता हो तो यह cronjob का उपयोग किया जा सकता है। अन्यथा, UpdateTotalIssuesOnCirc सिस्टम वरीयता का उपयोग करें।

Generate patron file for offline circulation

स्क्रिप्ट पथ: misc/cronjobs/create_koc_db.pl

Does: generates the borrowers.db file for use with the Koha offline circulation tool

फ्रीक्वेंसी सुझाव: साप्ताहिक

स्वचालित नवीकरण

स्क्रिप्ट पथ: misc/cronjobs/automatic_renewals.pl

Does: renews items if you're allowing automatic renewal with your circulation and fines rules.

फ्रीक्वेंसी सुझाव: रात

संरक्षक

Batch delete patrons

स्क्रिप्ट पथ: misc/cronjobs/delete_patrons.pl

Does: deletes patron records in batch based on date not borrowed since, expired before, last seen, category code, or library branch.

नोट

Dates should be in ISO format, e.g., 2013-07-19, and can be generated with date -d '-3 month' "+%Y-%m-%d".

महत्वपूर्ण

The options to select the patron records to delete are cumulative. For example, supplying both --expired_before and --library specifies that patron records must meet both conditions to be selected for deletion.

PARAMETERS

  • --not_borrowed_since Delete patrons who have not borrowed since this date.
  • --expired_before Delete patrons with an account expired before this date.
  • --last_seen Delete patrons who have not been connected since this date. The system preference TrackLastPatronActivity must be enabled to use this option.
  • --category_code Delete patrons who have this category code.
  • --library Delete patrons in this library.
  • -c|--confirm This flag must be provided in order for the script to actually delete patron records. If it is not supplied, the script will only report on the patron records it would have deleted.
  • -v|--verbose Verbose mode.

Unverified registrations

स्क्रिप्ट पथ: misc/cronjobs/delete_expired_opac_registrations.pl

Does: deletes patron registrations that were submitted via the OPAC but not reviewed by the library within the number of days entered in the PatronSelfRegistrationExpireTemporaryAccountsDelay preference.

फ्रीक्वेंसी सुझाव: रात

Unconfirmed registrations

स्क्रिप्ट पथ: misc/cronjobs/delete_unverified_opac_registrations.pl

Does: deletes patron self registrations that were submitted via the OPAC but not confirmed via email within 24 hours. This is only necessary if you are requiring patrons to confirm their registrations via email with the PatronSelfRegistrationVerifyByEmail preference.

फ्रीक्वेंसी सुझाव: प्रति घंटा

Anonymize patron data

स्क्रिप्ट पथ: misc/cronjobs/batch_anonymise.pl

Does: removes borrowernumbers from circulation history so that the stats are kept, but the patron information is removed for privacy reasons.

Update child to adult patron type

स्क्रिप्ट पथ: misc/cronjobs/j2a.pl

Does: converts juvenile/child patrons from juvenile patron category and category code to corresponding adult patron category and category code when they reach the upper age limit defined in the Patron Categories.

फ्रीक्वेंसी सुझाव: रात

विवरण

यह स्क्रिप्ट जब वे ऊपरी आयु सीमा में संरक्षक श्रेणियाँ परिभाषित तक पहुंचने उचित रूप से, वयस्क संरक्षक प्रकार के किशोर से संरक्षक को अद्यतन गारंटर को हटाने, और अद्यतन करने के लिए अपने वर्ग कोड बनाया गया है।

उपयोग उदाहरण

"juv2adult.pl"

"juv2adult.pl" -b=<branchcode> -f=<categorycode> -t=<categorycode> (Pएक शाखा की प्रक्रिया करता है, और श्रेणियों से श्रेणी तक संरक्षक श्रेणियों को अद्यतन करता है)

"juv2adult.pl" -f=<categorycode> -t=<categorycode> -v -n (सभी शाखाओं की प्रक्रिया, सभी संदेश दिखाता है, और संरक्षक को रिपोर्ट करता है जो प्रभावित होंगे। डेटाबेस पर कोई कार्रवाई नहीं लेती)

नोटिस

Message queue

स्क्रिप्ट पथ: misc/cronjobs/process_message_queue.pl

करता है: चेक क्यू भेजने के लिए संदेश कतार को संसाधित करता है, उपयोगकर्ताओं को भरे हुए ईमेल और एसएमएस संदेश में चेक इन और होल्ड करता है और संरक्षक को आउटगोइंग ईमेल भेजता है। की आवश्यकता है EnhancedMessagingPreferences पर होना

फ्रीक्वेंसी सुझाव: 1-4 घंटे

महत्वपूर्ण

Item due and Advanced due notices are controlled by the advance_notices cron.

Advanced notice

स्क्रिप्ट पथ: misc/cronjobs/advance_notices.pl

क्या: "पूर्व-नियत" नोटिस तैयार करता है और संरक्षक के लिए "आइटम देय" नोटिस तैयार करता है, जो उनसे अनुरोध करता है कि उनके लिए आधिकारिक सूचनाएं जल्द ही आती हैं या जल्द ही आ रही हैं। आवश्यकता है :ref:`EnhancedMessagingPreferences`पर होना

फ्रीक्वेंसी सुझाव: रात

नोट

This script does not actually send the notices. It queues them in the message queue for later

Overdue notice

स्क्रिप्ट पथ: misc/cronjobs/overdue_notices.pl

करता है: अतिदेय संदेशों के संरक्षक को सचेत करने के लिए संदेश तैयार (दोनों ईमेल और प्रिंट के माध्यम से)

फ्रीक्वेंसी सुझाव: रात

नोट

This script does not actually send the notices. It queues them in the message queue for later or generates the HTML for later printing

यह भी देखें:

misc/cronjobs/advance_notices.pl प्रोग्राम आपको अपने आइटमों के कारण होने से पहले संरक्षक को संदेश भेजने की अनुमति देता है, या उन वस्तुओं की चेतावनी देता है जो अभी देय हो गए हैं।

टॉकिंग टेक

To learn more about setting up this third party product view the Talking Tech chapter.

Sending notices file

स्क्रिप्ट पथ: misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl

Does: generates Spec C outbound notifications file for Talking Tech i-tiva phone notification system.

इसके द्वारा आवश्यक: TalkingTechItivaPhoneNotification

फ्रीक्वेंसी सुझाव: रात

Receiving notices file

स्क्रिप्ट पथ: misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl

Does: processes received results files for Talking Tech i-tiva phone notification system.

इसके द्वारा आवश्यक: TalkingTechItivaPhoneNotification

फ्रीक्वेंसी सुझाव: रात

Notify patrons of expiration

स्क्रिप्ट पथ: misc/cronjobs/membership_expiry.pl

Does: sends messages to warn patrons of their card expiration to the message queue cron.

आवश्यक है: MembershipExpiryDaysNotice

आवृत्ति: रात

In processing/book cart

स्क्रिप्ट पथ: misc/cronjobs/cart_to_shelf.pl

Does: updates all items with a location of CART to the item's permanent location.

Required by: NewItemsDefaultLocation, InProcessingToShelvingCart, and ReturnToShelvingCart system preferences

फ्रीक्वेंसी सुझाव: प्रति घंटा

केटलॉग

Import webservice batch

स्क्रिप्ट पथ: misc/cronjobs/import_webservice_batch.pl

Does: processes import bach queues of type 'webservice'. Batches can also be processed through the UI.

नोट

इस स्क्रिप्ट का उपयोग ओसीएलसी Connexion के लिए किया जाता है

Connexion import daemon

स्क्रिप्ट पथ: misc/bin/connexion_import_daemon.pl

Does: listens for OCLC Connexion requests and is compliant with OCLC Gateway specification. It takes requests with MARC XML and import batch parameters from a configuration file and forwards it to svc/import_bib

नोट

इस स्क्रिप्ट का उपयोग ओसीएलसी Connexion के लिए किया जाता है

Batch item deletion

स्क्रिप्ट पथ: misc/cronjobs/delete_items.pl

Does: generates a query against the items database and deletes the items matching the criteria specified in the command line arguments.

PARAMETERS

  • --verbose Send the "WHERE" clause generated by the collected C<--where> arguments, as well as items affected to Standard Out.
  • --where The C<--where> option may called multiple times. The following argument must be a syntactically valid SQL statement which is part of the C<WHERE> clause querying the items table. These are joined by C<AND>.
  • --commit No items will be deleted unless the C<--commit> flag is present.

EXAMPLES

The following are examples of this script:

delete_items.pl --where "items.withdrawn ! 0" --where "items.withdrawn_on < $(date --date="13 month ago" --rfc-3339=date)" --commit

delete_items.pl --where "itemlost >= '1'" --where "itemlost <='4'" --where "itemlost_on < '2014-04-28'" --commit

Check URL quick

स्क्रिप्ट पथ: misc/cronjobs/check-url-quick.pl

Does: checks URLs from biblio records; scans all URLs found by default in 856$u of bibliographic records and displays if resources are available or not.

नोट

यह स्क्रिप्ट check-url.pl स्क्रिप्ट को प्रतिस्थापित करती है

PARAMETERS

  • --host=http://default.tld Server host used when URL doesn't have one, ie doesn't begin with 'http:'. For example, if --host=mylib.com, then when 856$u contains 'img/image.jpg', the url checked is: http://www.mylib.com/image.jpg.

  • --tags Tags containing URLs in $u subfields. If not provided, 856 tag is checked. Multiple tags can be specified, for example:

    check-url-quick.pl --tags 310 410 856

  • --verbose|v Outputs both successful and failed URLs.

  • --html Formats output in HTML. The result can be redirected to a file accessible by http. This way, it's possible to link directly to the bibliographic record in edit mode. With this parameter --host-intranet is required.

  • --host-intranet=http://koha-pro.tld Server host used to link to bibliographic record editing page in Koha intranet interface.

  • --timeout=10 Timeout for fetching URLs. By default 10 seconds.

  • --maxconn=1000 Number of simulaneous HTTP requests. By default 200 connexions.

यूआरएल जांचें

स्क्रिप्ट पथ: misc/cronjobs/check-url.pl

क्या: 856$u क्षेत्र में चेक यूआरएल। स्क्रिप्ट उत्पादन अब सीएसवी या HTML में प्रारूपित किया जा सकता। HTML संस्करण मार्क Biblio रिकॉर्ड संपादक को सीधे जोड़ता है।

फ्रीक्वेंसी सुझाव: मासिक

और अधिक जानें: http://wiki.koha-community.org/wiki/Check-url_enhancements

Delete records via leader

स्क्रिप्ट पथ: misc/cronjobs/delete_records_via_leader.pl

Does: attempts to delete any MARC records where the leader character 5 equals 'd'.

PARAMETERS

  • -c|--confirm Script will do nothing without this parameter
  • -v|--verbose Verbose mode
  • -t|--test Test mode, does not delete records. Test mode cannot determine if a record/item will be deleted successfully, it will only tell you what records and items the script will attempt to delete.
  • -i|--delete-items Try deleting items before deleting record. Records with items cannot be deleted.

Update authorities

स्क्रिप्ट पथ: misc/cronjobs/merge_authorities.pl

Does: updates biblio data with changes to authorities records

नोट

इस स्क्रिप्ट के नाम पर गुमराह कर रहा है। यह स्क्रिप्ट के अधिकारियों को एक साथ विलय नहीं है कि यह बजाय जुड़े बिब रिकॉर्ड के साथ प्राधिकरण डेटा विलीन हो जाती है। प्राधिकरण रिकॉर्ड करने के लिए संपादन ग्रंथ सूची रिकॉर्ड है कि प्राधिकरण जब इस स्क्रिप्ट चलाया जाता है का उपयोग करने के लिए लागू किया जाएगा।

Required by: AuthorityMergeLimit system preference

फ्रीक्वेंसी सुझाव: रात

Serials update

स्क्रिप्ट पथ: misc/cronjobs/serialsUpdate.pl

क्या: चेक, अगर वहाँ सक्रिय सदस्यता पर एक "देर" मुद्दा है, और अगर वहाँ है, स्क्रिप्ट के रूप में इसे देर से सेट हो जाएगा, और उम्मीद के रूप में अगले एक जोड़ें।

फ्रीक्वेंसी सुझाव: रात

स्वचालित आइटम अद्यतन

स्क्रिप्ट पथ: misc/cronjobs/automatic_item_modification_by_age.pl

करता है: निर्धारित नियमों की सूची के आधार पर आइटम अपडेट करें set मेंe :ref:`आयु के अनुसार स्वचालित आइटम संशोधन' टूल

द्वारा आवश्यक: :ref:`उम्र के अनुसार स्वचालित आइटम संशोधन'

आवृत्ति सुझाव: रात में

OPAC

RSS feeds

स्क्रिप्ट पथ: misc/cronjobs/rss/rss.pl

Does: produces an RSS XML document for any SQL query (not used for search results RSS feed). Learn more.

फ्रीक्वेंसी सुझाव: प्रति घंटा

Authorities browser

स्क्रिप्ट पथ: misc/cronjobs/build_browser_and_cloud.pl

Does: generates content for authorities browse in OPAC

इसके द्वारा आवश्यक: OpacBrowser प्रणाली वरीयता

महत्वपूर्ण

यह वरीयता और क्रॉन जॉब केवल फ्रांसीसी सिस्टम पर इस्तेमाल किया जाना चाहिए।

Subject/author clouds

स्क्रिप्ट पथ: misc/cronjobs/cloud-kw.pl

Does: generates HTML keywords clouds from Koha Zebra indexes. misc/cronjobs/cloud-sample.conf has a sample of how this script operates.

आवृत्ति: यह स्क्रिप्ट के प्रकार आप एक बार एक महीने या तो चला सकते हैं, सामग्री उत्पन्न नहीं समय के साथ बहुत ज्यादा बदलाव करने जा रहा है।

System administration

Services throttle

स्क्रिप्ट पथ: misc/cronjobs/services_throttle.pl

करता है: xISBN सेवाओं को थ्रॉटल रीसेट करता है

फ्रीक्वेंसी सुझाव: रात

Clean up database

स्क्रिप्ट पथ: misc/cronjobs/cleanup_database.pl

Does: truncates the sessions table, cleans out old zebraqueue entries, action logs and staged MARC files.

Share usage stats

स्क्रिप्ट पथ: misc/cronjobs/share_usage_with_koha_community.pl

Does: sends your info to the Hea website if you're sharing information via the UsageStats feature

आवृत्ति: मासिक

अधिग्रहण

पुराने सुझाव साफ करें

स्क्रिप्ट पथ: misc/cronjobs/purge_suggestions.pl

Does: removes old (defined by you) suggestions from the suggestion management area.

नोट

The system preference PurgeSuggestionsOlderThan defines the number of days used in the script

प्रक्रिया के लिए ईमेल सुझाव

स्क्रिप्ट पथ: misc/cronjobs/notice_unprocessed_suggestions.pl

Does: generates a notice to the fund owner that there are suggestions in need of processing

EDI message processing

स्क्रिप्ट पथ: misc/cronjobs/edi_cron.pl

Does: sends and received EDI messages

आवृत्ति: हर 15 मिनट

Remove temporary EDI files

स्क्रिप्ट पथ: misc/cronjobs/remove_temporary_edifiles.pl

करता है: अस्थायी ईडीआई फ़ाइलों को हटा देता है जो 5 दिनों से पुराने होते हैं

रिपोर्ट

Run report

स्क्रिप्ट पथ: misc/cronjobs/runreport.pl

Does: runs pre-existing saved reports

PARAMETERS

  • -v|--verbose Verbose output
  • --format=s Selects format. Choice of text, html, csv or tsv
  • -e|--email Whether or not to use e-mail (implied by --to or --from)
  • -a|--attachment Attach the report as a file. Cannot be used with html format
  • --username Username to pass to the SMTP server for authentication
  • --password Password to pass to the SMTP server for authentication
  • --method The type of authentication. Ie. LOGIN, DIGEST-MD5, etc.
  • --to=s E-mail address to send report to
  • --from=s E-mail address to send report from
  • --subject=s Subject for the e-mail
  • --store-results Store the result of the report
  • --csv-header Add column names as first line of csv output

ARGUMENTS

  • reportID Report ID Number from saved_sql.id, multiple ID's may be specified

नार्वे संरक्षक डेटाबेस

कोहा को एनएल सिंक

स्क्रिप्ट पथ: misc/cronjobs/nl-sync-to-koha.pl

Does: syncs patrons from the Norwegian national patron database (NL) to Koha

** नोट ** NorwegianPatronDBUsername और NorwegianPatronDBPassword सिस्टम वरीयताओं पर निर्भर करता है

कोहा से एनएल सिंक

स्क्रिप्ट पथ: misc/cronjobs/nl-sync-from-koha.pl

Does: syncs patrons from Koha to the Norwegian national patron database (NL)

** नोट ** NorwegianPatronDBUsername और NorwegianPatronDBPassword सिस्टम वरीयताओं पर निर्भर करता है

सामाजिक डेटा

रिपोर्ट सामाजिक डेटा प्राप्त करें

स्क्रिप्ट पथ: misc/cronjobs/social_data/get_report_social_data.pl

करता है: ओपेक रिकॉर्ड में जोड़ने के लिए Babelthèque से डेटा डाउनलोड करता है

फ्रीक्वेंसी सुझाव: रात

सामाजिक डेटा अपडेट करें

स्क्रिप्ट पथ: misc/cronjobs/social_data/update_social_data.pl

करता है: Babelthèque सामाजिक डेटा के साथ OPAC रिकॉर्ड अपडेट करता है

Daemons

Daemons are continuously running tasks that help support Koha operation. Your database and webserver are run as daemons. Newer versions of Koha start two different daemons for most koha instances:

  • zebra - this is the index server
  • koha-indexer - this daemon updates the index server with new and modified data (biblios and authorities)

These daemons are started by the script /etc/init.d/koha-common.

Zebra indexer daemon

Script path: /usr/sbin/koha-indexer (invoked from /etc/init.d/koha-common)

The koha-indexer script invokes rebuild_zebra.pl in daemon mode. In this mode, the script will run continuously and check the database for new or modified data every 30 seconds. New or modified records are then sent to Zebra for indexing, which only takes a second or so. The advantage of this approach is a search system which is much more responsive to changes, compared to the :ref:'cron job approach <_rebuild-index-label>'.

अस्वीकृत स्क्रिप्ट्स

ये संशोधन के बिना नहीं चलाया जाना चाहिए:

स्क्रिप्ट पथ: misc/cronjobs/update_items.pl

स्क्रिप्ट पथ: misc/cronjobs/smsoverdues.pl

स्क्रिप्ट पथ: misc/cronjobs/notifyMailsOp.pl

स्क्रिप्ट पथ: misc/cronjobs/reservefix.pl

स्क्रिप्ट पथ: misc/cronjobs/zebraqueue_start.pl