1 package SL::BackgroundJob::BackgroundJobCleanup;
 
   5 use parent qw(SL::BackgroundJob::Base);
 
   7 use SL::DB::BackgroundJob;
 
  10   $_[0]->create_standard_job('0 3 * * *'); # daily at 3:00 am
 
  14   SL::DB::Manager::BackgroundJob->cleanup;
 
  27 SL::BackgroundJob::BackgroundJobCleanup - Background job for
 
  28 cleaning the background job table of all executed one time jobs
 
  32 This background job deletes old entries from the table
 
  33 C<background_jobs>. This happens to background jobs that were
 
  34 supposed to run only once and were already run.
 
  36 The job is supposed to run once a day.
 
  44 Sven Schöling E<lt>s.schoeling@linet-services.deE<gt>