[Koha] Fines Calculation not working

Agnes Rivers-Moore arm at hanover.ca
Wed Nov 18 05:42:11 NZDT 2009


There are a few quirks with editing cron. I am not familiar with ctrl-o 
to write.
See short tutorial at 
http://www.jiltin.com/index.php/scripts-unix/crontab-quick-complete-reference-setting-up-cronjobs-in-unix-and-linux/

Also there is some discussion of a similar problem at
http://forum.vectorlinux.com/index.php?topic=10714.0

Agnes

nitesh rijal wrote:
> This is what I did......
>
> I used SSH to log in to my server that hosts koha......
>
> # ssh 202.70.79.13
>
> # cd /usr/share/koha/bin/cronjobs
>
> # crontab -u root crontab.example
>
> #crontab -u kohaadmin crontab.example
>
> #crontab -e
>
> Then I changed the PERL5LIB, KOHA_CONF and KOHA_CRON_PATH accordingly.
>
> Then pressed Ctrl+O to writeout and then Ctrl+X to exit.
>
> What happens is that when I close the SSH session and re-enter using 
> SSH, the crontab.example rolls back to the previous content.....all 
> the changes that I made to it are no there......what is this problem???
>
> Is this obvious or have I made some mistakes???
>
> Please Help.
>
> On Mon, Nov 16, 2009 at 8:46 PM, Vimal Kumar <vimal0212 at gmail.com 
> <mailto:vimal0212 at gmail.com>> wrote:
>
>     Crontab settings are necessary for fine calculation and other
>     related task scheduling.
>     To make Koha cronjobs functional, follow the steps,
>     Open a terminal and try the commands,
>
>     localhost:~# su
>     localhost:~# cd /usr/share/koha/bin/cronjobs
>     localhost:~# crontab -u root crontab.example
>     localhost:~# crontab -u username crontab.example
>
>     Above mentioned steps should be try after the Koha installation.
>
>     localhost:~# crontab -e
>
>     change the following values there,
>
>     # ENVIRONMENT:
>     PERL5LIB=/usr/share/koha/lib
>     KOHA_CONF=/etc/koha/koha-conf.xml
>
>     # Some additional variables to save you typing
>     KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs
>
>     Remember to save the file.
>
>     Enable Koha > System preferences > Circulation > Finesmode >
>     production
>
>
>
>     -- 
>     Vimal Kumar V.
>     Asst. Librarian
>     Asian School of Business
>     Technopark, Trivandrum-695 581
>     Web: www.vimalkumar.co.nr <http://www.vimalkumar.co.nr>
>     Blog: http://vimalkumar.oksociety.in
>
>     OK Society Volunteer. http://oksociety.in
>     ---------------------------------------------------------------------------
>     "I forget what I was taught. I only remember what I have learnt"
>     -Patrick White
>
>
>
>
> -- 
> Nitesh Rijal
> BE IT
> email: rijal.it <http://rijal.it>@gmail.com <http://gmail.com>
> url: http://niteshrijal.com.np
> facebook: http://facebook.com/openrijal
> twitter: http://twitter.com/openrijal
> +9779841458173

-- 

Agnes Rivers-Moore
Assistant Librarian
Hanover Public Library



More information about the Koha mailing list