Announcement

Collapse
No announcement yet.

cleanup jobs not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cleanup jobs not working

    i have an issue with the scheduled jobs list. the old jobs that are in Administration>Scheduled Jobs> Job List will not clear out and i have over 45,000 listed there. my cleanup.php is set to 2 days, and the cleanup job is set to 1 1 * * 0. any help would be appreciated

  • #2
    Any help would be appreciated

    Comment


    • #3
      Hello
      When did your cleanup job successful run? (you can find it in the job log)
      What execution time has the oldest job? (Order ASC by execution time in All Job list view)

      Comment


      • #4
        it says pending but never ran. all other jobs have ran

        Comment


        • #5
          1. Set scheduling 1 1 * * * (w/o ending zero).
          2. Add to data/config.php
          'cleanupJobPeriod' => '1 week'

          See https://github.com/espocrm/espocrm/b...bs/Cleanup.php

          By default it runs once a month and removes jobs 1 month old. 45,000 is a normal number for jobs.
          Last edited by yuri; 02-23-2018, 02:54 PM.

          Comment


          • #6
            thanks! ill update this and let you know the outcome. Thanks again

            Comment


            • #7
              that worked! thanks!

              Comment

              Working...
              X