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

Add time measurement to runcronjobs.php

    XMLWordPrintable

Details

    Description

      To get an information about how long the execution of a cronjob takes it would be a good idea to add timestamps to runcronjobs.php, e.g.

      +if ( !$isQuiet )
      + $cli->notice( "+++ Start: " . date("m.d.y G:i:s T") );

      $ini =& eZINI::instance( 'cronjob.ini' );

      ...

      +if ( !$isQuiet )
      + $cli->notice( "+++ Stop: " . date("m.d.y G:i:s T") );
      +
      $script->shutdown();

      Attachments

        Activity

          People

            gl gl
            ab@ez.no ab@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: