Search Postgresql Archives

pgAgent reporting success for non-zero results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We recently recompiled pgAgent 3.3.0 for our Centos x86 64 environment to over come the problem of steps with a non-zero result codes being reported as successful.
What appears to be happening is if the first step has a non-zero result then it correctly has the status of Failed but if it is a later step that is non-zero then it always has Successful.
 
To test this is setup a job of two steps and ran it in two orders
 Job: 'Test'
    Step: 1.exit 1, Definition: exit 1; - Result 1, Status: Failed
    Step: 2.exit 0, Definition: exit 0; - <not ran>
 
  Job: 'Test'
    Step: 1.exit 0, Definition: exit 0; - Result 0, Status: Successful
    Step: 2.exit 1, Definition: exit 1; - Result 1, Status: Successful
 
Does anyone any ideas of what is causing this behaviour or how to work around this?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux