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@amphilsoc.org <mailto:ccurry@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@amphilsoc.org <mailto:ccurry@amphilsoc.org>
Main Library number: (215)440-3400 APS website: http://www.amphilsoc.org
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha