[Koha] cleanup_database.pl

Christopher Curry ccurry at amphilsoc.org
Thu May 20 03:48:27 NZST 2010


Forgot to mention the most important point (maybe it was obvious?):  
zebraqueue and sessions tables are not being cleared, even though syslog 
tells me the cmd was run.

I wish an error message would output to my log file, at least.  As it 
is, I'm not sure what else to try.

I'm not a cron master, so I assume I'm just missing something necessary 
for cron to function.   I've read the cron manual, but I cannot 
determine what, if anything, I'm missing.

Cheers,

Christopher Curry
Assistant Technical Librarian / Assistant IT Officer

American Philosophical Society
105 South Fifth Street
Philadelphia, PA 19106-3386
Tel. (215) 599-4299

ccurry at amphilsoc.org <mailto:ccurry at amphilsoc.org>

Main Library number: (215)440-3400
APS website: http://www.amphilsoc.org



On 05/19/2010 11:34 AM, Christopher Curry wrote:
> Hello all,
>
> I'm having trouble getting the cleanup_database.pl script to 
> automate.  I logged in as koha and typed crontab -e, saved and was 
> informed that a new crontab had been installed.  I ran the script 
> manually as koha and it worked perfectly.
>
> Here is my crontab:
>
> "0       3       *       *       2-6     perl 
> /usr/local/src/kohaclone/misc/cronjobs/cleanup_database.pl -v 
> --sessions --zebraqueue 10 >>/var/log/koha/cleanup_database.log"
>
> Here is my syslog:
>
> "May 19 03:00:01 eucalyptus /USR/SBIN/CRON[15240]: (koha) CMD (perl 
> /usr/local/src/kohaclone/misc/cronjobs/cleanup_database.pl -v 
> --sessions --zebraqueue 10 >>/var/log/koha/cleanup_database.log)"
>
> /var/log/koha/cleanup_database.log doesn't get amended.
>
> Any obvious issues with my configuration?  Any ideas how I can make 
> this work?
>
> -- 
>
> Cheers,
>
> Christopher Curry
> Assistant Technical Librarian / Assistant IT Officer
>
> American Philosophical Society
> 105 South Fifth Street
> Philadelphia, PA 19106-3386
> Tel. (215) 599-4299
>
> ccurry at amphilsoc.org <mailto:ccurry at amphilsoc.org>
>
> Main Library number: (215)440-3400
> APS website: http://www.amphilsoc.org
>
>
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100519/a8ab68a0/attachment.htm 


More information about the Koha mailing list