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@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 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@gmail.com url: http://niteshrijal.com.np facebook: http://facebook.com/openrijal twitter: http://twitter.com/openrijal +9779841458173