Project

General

Profile

Actions

Bug #33429

closed

return var 127

Added by Anonymous almost 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2012-01-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I run the Scheduler with the scheduler_http (a useful extension for websites which are not able to run shell) I always get the return var 127.
I don't know how to handle this.
Is it the error code of the scheduler script or of the operating system?
And how can I fix it?

Actions #1

Updated by Steffen Gebert almost 13 years ago

Could you please ask the author of scheduler_http extension first? I don't know, why such a return value is passed through. Usually single scheduler tasks return boolean.

Actions #2

Updated by Anonymous almost 13 years ago

I've asked the author of the mentioned extension first an he wrote:

return_var's are a bit arbitrary, because the value depends on what the developer of the script returns (e.g. in php "exit(127);" will result in an error code of "127"). If the value comes from the operating system, the codes depend on the operating system used - e.g. for linux: http://tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF

So it seems to be a problem with the scheduler.

Actions #3

Updated by Philipp Gampe over 12 years ago

Most likely you have another error in your configuration.

Can you please debug the scheduler_http extension (it has such an option) and tell what the output it.

Anyway, on 6.0 it always returns 0 (zero) or 99 (exception) even if an error happened.

Actions #4

Updated by Christian Kuhn over 12 years ago

  • Status changed from New to Resolved

As far as I understand, this is not an issue in the scheduler extension.

Actions #5

Updated by Michael Stucki almost 11 years ago

  • Category set to scheduler
Actions #6

Updated by Michael Stucki almost 11 years ago

  • Project changed from 739 to TYPO3 Core
  • Category changed from scheduler to scheduler
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF