Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-728

Cron script raises several warnings, when invoked from command line

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.1-B2
    • Fix Version/s: 5.1.1-RC1
    • Component/s: Data Management
    • Labels:
      None
    • Additional information:
      Hide

      Also it would be good to let users know, that "tools/cron.php" script could also be executed from command line and not through "wget" program, that uses webserver to run it.

      Show
      Also it would be good to let users know, that "tools/cron.php" script could also be executed from command line and not through "wget" program, that uses webserver to run it.
    • External issue ID:
      901
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      When "tools/cron.php" file is invoked from command line (using php cli) it raises several warnings about missing REMOTE_ADDR key in $_SERVER array.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: