Rt-clean-sessions script errors

Hi,

every time I run /opt/rt4/sbin/rt-clean-sessions I get this error message:
Use of uninitialized value $alogoff in multiplication (*) at
/opt/rt4/sbin/rt-clean-sessions line 117.
(/opt/rt4/sbin/rt-clean-sessions:117)

RT Version: 4.0-trunk

-Chris

every time I run /opt/rt4/sbin/rt-clean-sessions I get this error message:
Use of uninitialized value $alogoff in multiplication (*) at
/opt/rt4/sbin/rt-clean-sessions line 117.
(/opt/rt4/sbin/rt-clean-sessions:117)

RT Version: 4.0-trunk

This implies either a) your config is missing the default
Set($AutoLogoff, 0) that’s found in a stock etc/RT_Config.pm, or b) you
explicitly Set($AutoLogoff, undef) in your own config.

Thomas

This implies either a) your config is missing the default
Set($AutoLogoff, 0) that’s found in a stock etc/RT_Config.pm, or b) you
explicitly Set($AutoLogoff, undef) in your own config.

It’s none of a or b. :wink:
I call rt-cleanup-session with “–older 1D” and if you do this, $alogoff
is never set to RT->Config->Get(‘AutoLogoff’).

-Chris

It’s none of a or b. :wink:
I call rt-cleanup-session with “–older 1D” and if you do this, $alogoff
is never set to RT->Config->Get(‘AutoLogoff’).

Ah, yes. Sorry, I should have looked at rt-clean-sessions instead of
relying on previous experience.

This is a bug report that should go to rt-bugs@bestpractical.com.

Thomas