<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
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.<br>
<br>
I wish an error message would output to my log file, at least. As it
is, I'm not sure what else to try.<br>
<br>
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.<br>
<br>
Cheers,
<div class="moz-signature"><span
style="font-size: 12px; font-family: Arial;">
<p>Christopher Curry<br>
Assistant Technical Librarian / Assistant IT Officer</p>
<p>American Philosophical Society<br>
105 South Fifth Street<br>
Philadelphia, PA 19106-3386<br>
Tel. (215) 599-4299</p>
<p><a href="mailto:ccurry@amphilsoc.org">ccurry@amphilsoc.org</a></p>
Main Library number: (215)440-3400<br>
APS website: <a href="http://www.amphilsoc.org">http://www.amphilsoc.org</a>
<p><br>
</p>
</span>
</div>
<br>
On 05/19/2010 11:34 AM, Christopher Curry wrote:
<blockquote cite="mid:4BF4050A.1050301@amphilsoc.org" type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
Hello all,<br>
<br>
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. <br>
<br>
Here is my crontab: <br>
<br>
"0 3 * * 2-6 perl
/usr/local/src/kohaclone/misc/cronjobs/cleanup_database.pl -v
--sessions --zebraqueue 10 >>/var/log/koha/cleanup_database.log"<br>
<br>
Here is my syslog:<br>
<br>
"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)"<br>
<br>
/var/log/koha/cleanup_database.log doesn't get amended.<br>
<br>
Any obvious issues with my configuration? Any ideas how I can make
this work?<br>
<br>
<div class="moz-signature">-- <br>
<span style="font-size: 12px; font-family: Arial;">
<p>Cheers,</p>
<p>Christopher Curry<br>
Assistant Technical Librarian / Assistant IT Officer</p>
<p>American Philosophical Society<br>
105 South Fifth Street<br>
Philadelphia, PA 19106-3386<br>
Tel. (215) 599-4299</p>
<p><a moz-do-not-send="true" href="mailto:ccurry@amphilsoc.org">ccurry@amphilsoc.org</a></p>
Main Library number: (215)440-3400<br>
APS website: <a moz-do-not-send="true" href="http://www.amphilsoc.org">http://www.amphilsoc.org</a>
<p><br>
</p>
</span>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Koha mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a>
<a class="moz-txt-link-freetext" href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
</pre>
</blockquote>
</body>
</html>