SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
Koha Cronjobs
   Joe Atzberger, LibLime




  KohaCon 2009: Plano, TX
misc/cronjobs/
•   advance_notices.pl
•   crontab.example
•   fines.pl
•   longoverdue.pl
•   overdue_notices.pl
•   process_message_queue.pl
•   ... and others
rebuild_zebra.pl
          misc/migration_tools/rebuild_zebra.pl

• -a: authorities
• -b: biblios
• -x: XML
• -z: incremental
• -r: CLEAR and REBUILD from scratch
Remember!

• export PERL5LIB=/path/to/kohaclone
• export KOHA_CONF=/path/to/koha-
  conf.xml
Any idiot could give this presentation.
Any idiot could give this presentation.

Allow me to demonstrate!
Any idiot could give this presentation.

Allow me to demonstrate!
Any idiot could give this presentation.

Allow me to demonstrate!

All the info comes from two places:
Any idiot could give this presentation.

Allow me to demonstrate!

All the info comes from two places:
• crontab.example
Any idiot could give this presentation.

Allow me to demonstrate!

All the info comes from two places:
• crontab.example
• run: whatever_job.pl
Any idiot could give this presentation.

Allow me to demonstrate!

All the info comes from two places:
• crontab.example
• run: whatever_job.pl
• or: whatever_job.pl --help
Any idiot could give this presentation.

Allow me to demonstrate!

All the info comes from two places:
• crontab.example
• run: whatever_job.pl
• or: whatever_job.pl --help
  • OK, well, not everything.
fines.pl
• No help
• No command-line options either
• sysprefs: finesMode, CircControl
• staff: fines rules, Calendar!
• TIP: run fines before notices
advance_notices.pl

• Like overdue notices, but before due
• “EnhancedMessagingPreferences” syspref
• Opt-In for individual patrons via OPAC
Building a good cronjob
• Documentation for use case!
• Good perl: use strict; use warnings;
• use Getopt::Long; # handle --options
• use Pod::Usage; # makes --help like perldoc
• internalize, like process_message_queue.pl
• test cases, dry run, operational feedback
The End

Contenu connexe

Tendances

برنامج اللقاء العاشر للفهرس العربي الموحد
برنامج اللقاء العاشر للفهرس العربي الموحدبرنامج اللقاء العاشر للفهرس العربي الموحد
برنامج اللقاء العاشر للفهرس العربي الموحدالفهرس العربي الموحد
 
بحث ضريبة القيمة المضافة
بحث ضريبة القيمة المضافةبحث ضريبة القيمة المضافة
بحث ضريبة القيمة المضافةsherif mansour
 
فهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوض
فهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوضفهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوض
فهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوضMuhammad Muawwad
 
Creative Shooting Modes أوضاع التصوير الإبداعية
Creative Shooting Modes أوضاع التصوير الإبداعيةCreative Shooting Modes أوضاع التصوير الإبداعية
Creative Shooting Modes أوضاع التصوير الإبداعيةAbdullah Muhammad
 
[En] IPVS for Docker Containers
[En] IPVS for Docker Containers[En] IPVS for Docker Containers
[En] IPVS for Docker ContainersAndrey Sibirev
 
حماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعد
حماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعدحماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعد
حماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعدNaseej Academy أكاديمية نسيج
 
مقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوض
مقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوضمقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوض
مقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوضMuhammad Muawwad
 
مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية / إعداد محمد عب...
مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية  / إعداد محمد عب...مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية  / إعداد محمد عب...
مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية / إعداد محمد عب...Muhammad Muawwad
 
كيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA / إعداد محمد عبدالحميد معوض
كيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA  / إعداد محمد عبدالحميد معوضكيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA  / إعداد محمد عبدالحميد معوض
كيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA / إعداد محمد عبدالحميد معوضMuhammad Muawwad
 
المكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstone
المكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstoneالمكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstone
المكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstoneالدكتور طلال ناظم الزهيري
 
Openwrt startup
Openwrt startupOpenwrt startup
Openwrt startup晓东 杜
 
Course 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking HelpCourse 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking HelpAhmed El-Arabawy
 
Course 102: Lecture 1: Course Overview
Course 102: Lecture 1: Course Overview Course 102: Lecture 1: Course Overview
Course 102: Lecture 1: Course Overview Ahmed El-Arabawy
 
أساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوض
أساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوضأساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوض
أساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوضMuhammad Muawwad
 
الإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوض
الإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوضالإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوض
الإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوضMuhammad Muawwad
 
الأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلومات
الأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلوماتالأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلومات
الأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلوماتGhifar Alem
 

Tendances (20)

برنامج اللقاء العاشر للفهرس العربي الموحد
برنامج اللقاء العاشر للفهرس العربي الموحدبرنامج اللقاء العاشر للفهرس العربي الموحد
برنامج اللقاء العاشر للفهرس العربي الموحد
 
الفهرسة المقروءة آلياً Marc
الفهرسة المقروءة آلياً Marcالفهرسة المقروءة آلياً Marc
الفهرسة المقروءة آلياً Marc
 
بحث ضريبة القيمة المضافة
بحث ضريبة القيمة المضافةبحث ضريبة القيمة المضافة
بحث ضريبة القيمة المضافة
 
فهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوض
فهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوضفهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوض
فهرسة الرسائل الجامعية في صيغة مارك 21/ إعداد محمد عبدالحميد معوض
 
Creative Shooting Modes أوضاع التصوير الإبداعية
Creative Shooting Modes أوضاع التصوير الإبداعيةCreative Shooting Modes أوضاع التصوير الإبداعية
Creative Shooting Modes أوضاع التصوير الإبداعية
 
[En] IPVS for Docker Containers
[En] IPVS for Docker Containers[En] IPVS for Docker Containers
[En] IPVS for Docker Containers
 
Wireshark
WiresharkWireshark
Wireshark
 
حماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعد
حماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعدحماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعد
حماية الخصوصية والمعلومات الشخصية في منصات التعليم عن بعد
 
مقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوض
مقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوضمقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوض
مقدمة إلى مبادرة الإطار الببليوجرافي / إعداد محمد عبدالحميد معوض
 
مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية / إعداد محمد عب...
مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية  / إعداد محمد عب...مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية  / إعداد محمد عب...
مقارنة وصف المصادر وإتاحتها مع قواعد الفهرسة الأنجلو أمريكية / إعداد محمد عب...
 
كيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA / إعداد محمد عبدالحميد معوض
كيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA  / إعداد محمد عبدالحميد معوضكيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA  / إعداد محمد عبدالحميد معوض
كيفية التعرف على تسجيلات وصف وإتاحة المصادر RDA / إعداد محمد عبدالحميد معوض
 
المكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstone
المكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstoneالمكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstone
المكتبات الرقمية الشخصية تحربة بناء باستخدام نظام Greenstone
 
Openwrt startup
Openwrt startupOpenwrt startup
Openwrt startup
 
Koha System Architecture
Koha System ArchitectureKoha System Architecture
Koha System Architecture
 
Course 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking HelpCourse 102: Lecture 6: Seeking Help
Course 102: Lecture 6: Seeking Help
 
Course 102: Lecture 1: Course Overview
Course 102: Lecture 1: Course Overview Course 102: Lecture 1: Course Overview
Course 102: Lecture 1: Course Overview
 
SQL Reports in Koha
SQL Reports in KohaSQL Reports in Koha
SQL Reports in Koha
 
أساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوض
أساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوضأساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوض
أساسيات صيغة مارك 21 الببليوجرافية / إعداد محمد عبدالحميد معوض
 
الإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوض
الإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوضالإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوض
الإطار الببليوجرافي BIBFRAME لماذا؟ ما هو؟ من ؟ / ترجمة محمد عبدالحميد معوض
 
الأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلومات
الأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلوماتالأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلومات
الأرشفة والفهرسة وادارة المكاتب وامن وحماية المعلومات
 

En vedette

Koha Integration: LDAP
Koha Integration: LDAPKoha Integration: LDAP
Koha Integration: LDAPohiocore
 
Koha Integration: RFID and SIP2
Koha Integration: RFID and SIP2Koha Integration: RFID and SIP2
Koha Integration: RFID and SIP2ohiocore
 
Koha presentation
Koha presentationKoha presentation
Koha presentationBibLibre
 
The State of Library Management Systems 2016
The State of Library Management Systems 2016The State of Library Management Systems 2016
The State of Library Management Systems 2016Ellyssa Kroski
 
ISO 9712
ISO 9712ISO 9712
ISO 9712Olijohn
 
Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...
Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...
Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...Péter Bágyi M.D.
 
MySQL Cluster Product Overview
MySQL Cluster Product OverviewMySQL Cluster Product Overview
MySQL Cluster Product OverviewWagner Bianchi
 
Ch28
Ch28Ch28
Ch28jespi
 
Adobe connect set up instructions str
Adobe connect set up instructions strAdobe connect set up instructions str
Adobe connect set up instructions strGihan Lahoud
 
In Memory of Laura Weber
In Memory of Laura WeberIn Memory of Laura Weber
In Memory of Laura WeberLisa McKenna
 
Koalas Fave Term 2 Week 1
Koalas Fave Term 2 Week 1Koalas Fave Term 2 Week 1
Koalas Fave Term 2 Week 1Gihan Lahoud
 
Augmented Reality Presentation at Leadership Forum 2012 Randwick
Augmented Reality Presentation at Leadership Forum 2012 RandwickAugmented Reality Presentation at Leadership Forum 2012 Randwick
Augmented Reality Presentation at Leadership Forum 2012 RandwickGihan Lahoud
 
The Relationships Between Social Media and Search
The Relationships Between Social Media and SearchThe Relationships Between Social Media and Search
The Relationships Between Social Media and SearchLaura Lippay
 
How It Works
How It WorksHow It Works
How It WorksnuResume
 
ZeroMQ at Oredev 2013
ZeroMQ at Oredev 2013ZeroMQ at Oredev 2013
ZeroMQ at Oredev 2013Ashic Mahtab
 

En vedette (20)

Koha Integration: LDAP
Koha Integration: LDAPKoha Integration: LDAP
Koha Integration: LDAP
 
Training on Koha
Training on KohaTraining on Koha
Training on Koha
 
Koha Integration: RFID and SIP2
Koha Integration: RFID and SIP2Koha Integration: RFID and SIP2
Koha Integration: RFID and SIP2
 
Opac customization
Opac customizationOpac customization
Opac customization
 
Koha presentation
Koha presentationKoha presentation
Koha presentation
 
Carver IT Security for Librarians
Carver IT Security for LibrariansCarver IT Security for Librarians
Carver IT Security for Librarians
 
Butler - Security Lessons Learned from an Ezproxy Admin
Butler - Security Lessons Learned from an Ezproxy AdminButler - Security Lessons Learned from an Ezproxy Admin
Butler - Security Lessons Learned from an Ezproxy Admin
 
The State of Library Management Systems 2016
The State of Library Management Systems 2016The State of Library Management Systems 2016
The State of Library Management Systems 2016
 
ISO 9712
ISO 9712ISO 9712
ISO 9712
 
Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...
Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...
Web 2.0 alkalmazások az egészségügyben, képalkotó diagnosztikában - II. rész ...
 
MySQL Cluster Product Overview
MySQL Cluster Product OverviewMySQL Cluster Product Overview
MySQL Cluster Product Overview
 
Ch28
Ch28Ch28
Ch28
 
Adobe connect set up instructions str
Adobe connect set up instructions strAdobe connect set up instructions str
Adobe connect set up instructions str
 
In Memory of Laura Weber
In Memory of Laura WeberIn Memory of Laura Weber
In Memory of Laura Weber
 
Koalas Fave Term 2 Week 1
Koalas Fave Term 2 Week 1Koalas Fave Term 2 Week 1
Koalas Fave Term 2 Week 1
 
Augmented Reality Presentation at Leadership Forum 2012 Randwick
Augmented Reality Presentation at Leadership Forum 2012 RandwickAugmented Reality Presentation at Leadership Forum 2012 Randwick
Augmented Reality Presentation at Leadership Forum 2012 Randwick
 
The Relationships Between Social Media and Search
The Relationships Between Social Media and SearchThe Relationships Between Social Media and Search
The Relationships Between Social Media and Search
 
How It Works
How It WorksHow It Works
How It Works
 
Team One Keynote
Team  One  KeynoteTeam  One  Keynote
Team One Keynote
 
ZeroMQ at Oredev 2013
ZeroMQ at Oredev 2013ZeroMQ at Oredev 2013
ZeroMQ at Oredev 2013
 

Similaire à Koha Cronjobs

Ceph Day Melbourne - Troubleshooting Ceph
Ceph Day Melbourne - Troubleshooting Ceph Ceph Day Melbourne - Troubleshooting Ceph
Ceph Day Melbourne - Troubleshooting Ceph Ceph Community
 
Hiveminder - Everything but the Secret Sauce
Hiveminder - Everything but the Secret SauceHiveminder - Everything but the Secret Sauce
Hiveminder - Everything but the Secret SauceJesse Vincent
 
Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009PHPBelgium
 
21st Century CPAN Testing: CPANci
21st Century CPAN Testing: CPANci21st Century CPAN Testing: CPANci
21st Century CPAN Testing: CPANciMike Friedman
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & ExpressionsRich Price
 
ruote stockholm 2008
ruote stockholm 2008ruote stockholm 2008
ruote stockholm 2008John Mettraux
 
Intro to pl/PHP Oscon2007
Intro to pl/PHP Oscon2007Intro to pl/PHP Oscon2007
Intro to pl/PHP Oscon2007Robert Treat
 
Web 2.0 Performance and Reliability: How to Run Large Web Apps
Web 2.0 Performance and Reliability: How to Run Large Web AppsWeb 2.0 Performance and Reliability: How to Run Large Web Apps
Web 2.0 Performance and Reliability: How to Run Large Web Appsadunne
 
The Popper Experimentation Protocol and CLI tool
The Popper Experimentation Protocol and CLI toolThe Popper Experimentation Protocol and CLI tool
The Popper Experimentation Protocol and CLI toolIvo Jimenez
 
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceBeijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceJesse Vincent
 
Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL John Anderson
 
What we Learned Implementing Puppet at Backstop
What we Learned Implementing Puppet at BackstopWhat we Learned Implementing Puppet at Backstop
What we Learned Implementing Puppet at BackstopPuppet
 
第1回PHP拡張勉強会
第1回PHP拡張勉強会第1回PHP拡張勉強会
第1回PHP拡張勉強会Ippei Ogiwara
 
Practical project automation
Practical project automationPractical project automation
Practical project automationReinout van Rees
 

Similaire à Koha Cronjobs (20)

Smoking docker
Smoking dockerSmoking docker
Smoking docker
 
CPAN Training
CPAN TrainingCPAN Training
CPAN Training
 
Perl dancer
Perl dancerPerl dancer
Perl dancer
 
Os Treat
Os TreatOs Treat
Os Treat
 
Ceph Day Melbourne - Troubleshooting Ceph
Ceph Day Melbourne - Troubleshooting Ceph Ceph Day Melbourne - Troubleshooting Ceph
Ceph Day Melbourne - Troubleshooting Ceph
 
Hiveminder - Everything but the Secret Sauce
Hiveminder - Everything but the Secret SauceHiveminder - Everything but the Secret Sauce
Hiveminder - Everything but the Secret Sauce
 
Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009
 
21st Century CPAN Testing: CPANci
21st Century CPAN Testing: CPANci21st Century CPAN Testing: CPANci
21st Century CPAN Testing: CPANci
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & Expressions
 
ruote stockholm 2008
ruote stockholm 2008ruote stockholm 2008
ruote stockholm 2008
 
Intro to pl/PHP Oscon2007
Intro to pl/PHP Oscon2007Intro to pl/PHP Oscon2007
Intro to pl/PHP Oscon2007
 
Web 2.0 Performance and Reliability: How to Run Large Web Apps
Web 2.0 Performance and Reliability: How to Run Large Web AppsWeb 2.0 Performance and Reliability: How to Run Large Web Apps
Web 2.0 Performance and Reliability: How to Run Large Web Apps
 
The Popper Experimentation Protocol and CLI tool
The Popper Experimentation Protocol and CLI toolThe Popper Experimentation Protocol and CLI tool
The Popper Experimentation Protocol and CLI tool
 
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceBeijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
 
Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL Automate Yo'self -- SeaGL
Automate Yo'self -- SeaGL
 
What we Learned Implementing Puppet at Backstop
What we Learned Implementing Puppet at BackstopWhat we Learned Implementing Puppet at Backstop
What we Learned Implementing Puppet at Backstop
 
第1回PHP拡張勉強会
第1回PHP拡張勉強会第1回PHP拡張勉強会
第1回PHP拡張勉強会
 
Vim Hacks
Vim HacksVim Hacks
Vim Hacks
 
Vim Hacks
Vim HacksVim Hacks
Vim Hacks
 
Practical project automation
Practical project automationPractical project automation
Practical project automation
 

Dernier

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

Dernier (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Koha Cronjobs

  • 1. Koha Cronjobs Joe Atzberger, LibLime KohaCon 2009: Plano, TX
  • 2. misc/cronjobs/ • advance_notices.pl • crontab.example • fines.pl • longoverdue.pl • overdue_notices.pl • process_message_queue.pl • ... and others
  • 3. rebuild_zebra.pl misc/migration_tools/rebuild_zebra.pl • -a: authorities • -b: biblios • -x: XML • -z: incremental • -r: CLEAR and REBUILD from scratch
  • 4. Remember! • export PERL5LIB=/path/to/kohaclone • export KOHA_CONF=/path/to/koha- conf.xml
  • 5. Any idiot could give this presentation.
  • 6. Any idiot could give this presentation. Allow me to demonstrate!
  • 7. Any idiot could give this presentation. Allow me to demonstrate!
  • 8. Any idiot could give this presentation. Allow me to demonstrate! All the info comes from two places:
  • 9. Any idiot could give this presentation. Allow me to demonstrate! All the info comes from two places: • crontab.example
  • 10. Any idiot could give this presentation. Allow me to demonstrate! All the info comes from two places: • crontab.example • run: whatever_job.pl
  • 11. Any idiot could give this presentation. Allow me to demonstrate! All the info comes from two places: • crontab.example • run: whatever_job.pl • or: whatever_job.pl --help
  • 12. Any idiot could give this presentation. Allow me to demonstrate! All the info comes from two places: • crontab.example • run: whatever_job.pl • or: whatever_job.pl --help • OK, well, not everything.
  • 13. fines.pl • No help • No command-line options either • sysprefs: finesMode, CircControl • staff: fines rules, Calendar! • TIP: run fines before notices
  • 14. advance_notices.pl • Like overdue notices, but before due • “EnhancedMessagingPreferences” syspref • Opt-In for individual patrons via OPAC
  • 15. Building a good cronjob • Documentation for use case! • Good perl: use strict; use warnings; • use Getopt::Long; # handle --options • use Pod::Usage; # makes --help like perldoc • internalize, like process_message_queue.pl • test cases, dry run, operational feedback