1 package SL::BackgroundJob::CleanAuthSessions;
5 use parent qw(SL::BackgroundJob::Base);
8 $_[0]->create_standard_job('30 6 * * *'); # daily at 6:30 am
14 $::auth->expire_sessions;
27 SL::BackgroundJob::CleanAuthSessions - Background job for cleaning the
28 session tables of expired entries
32 This background job deletes all entries for expired sessions from the
33 tables C<auth.session> and C<auth.session_content>. It will also
34 delete all files associated with that session (see
37 The job is supposed to run once a day.
45 Moritz Bunkus E<lt>m.bunkus@linet-services.deE<gt>