Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21634

ezpublish:legacy:script not taking cluster_maintenance into account

    XMLWordPrintable

Details

    Description

      If you run, in a cluster, after removing an image

      $ php ezpublish/console ezpublish:legacy:script runcronjobs.php --s ezflow_site cluster_maintenance

      you get

      Running script 'runcronjobs.php' in eZ Publish legacy context
      #!/usr/bin/env php
      Using siteaccess  for cronjob
      Running cronjob part 'ezflow_site'
      Notice: No scripts found for execution.
      

      but if you try to run the old way

      $ php runcronjobs.php -s ezflow_site cluster_maintenance

      you'll get

      Using siteaccess ezflow_site for cronjob
      Running cronjob part 'cluster_maintenance'
      Running cronjobs/clusterpurge.php at: 27/09/2013 4:05 pm
      Purging expired items:
      - var/ezflow_site/storage/images-versioned/223/1-eng-GB/teste-22.jpg
      - var/ezflow_site/storage/images/media/images/teste-2/223-1-eng-GB/teste-2.jpg
      Completing cronjobs/clusterpurge.php at: 27/09/2013 4:05 pm
      Elapsed time: 00:00:01
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h