[ic] Expire All - Can not find interchange.cfg
Tue, 9 Jan 2001 16:38:11 +0100 (CET)
On 9 Jan, MediaServices Network wrote:
> I have set the cron job for expiring sessions (or at least I think I did it
> Every evening I have the cron
> perl /home/goldget/interchange/bin/expireall -r goldget
> I get a cron error email every morning since stating the error;
> Couldn't read interchange.cfg: No such file or directory
> Is the cron command correct, do I have to place a path for it to find
> interchange.cfg? Where is it looking for the interchange.cfg and would a sym
> link to the location it is looking help it find it? If I do it that was
> would it then have errors finding the 'sessions' directory?
> Any help is appreciated?
I get this too. I've solved it! My solution is
create an extra file like (for example)
# cat bin/cronexpireall
and my crontab -l looks like
# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.vjnfD23002 installed on Tue Jan 9 12:21:32 2001)
# (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 188.8.131.52 1999/08/29 15:40:42 peter Exp $)
45 0-23/2 * * * /home/ic/bin/cronexpireall
I'm wondering about the result of expire and expireall.
I've in my catalog.cfg a "SessionExpire 1 hours", but "expire -u -r -c
mycatalogname" isn't working. There are still some session files, wich
is older than 1 hour and still there in the directory "session". What
is the cause? Thanks!
buch online email@example.com
Munscheidstr. 14 FAX: +49 209 1671441
45886 Gelsenkirchen FAX: 0209 1671441