Opened 17 years ago

Closed 16 years ago

#729 closed enhancement (fixed)

./ should accept command `status`

Reported by: Jari Häkkinen Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.5
Component: core Version: 2.4.0
Keywords: Cc:


status should return if the agent is running or not. Needed for completness and compliance with other unix startup scripts. I am trying to write a startup script for automatic start up of the job agents after a reboot and other unexpected events.

Change History (4)

comment:1 by Jari Häkkinen, 17 years ago

Milestone: BASE 2.5

comment:2 by Nicklas Nordborg, 16 years ago

"compliance with other unix startup scripts"

Hmmm... what exactly does this mean? Is there some "standardized" response from startup scripts? Running / Stopped / more?

comment:3 by Nicklas Nordborg, 16 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

Ok, time is running out on this one. I'll add a 'status' command which returns Running, Paused or Stopped. These three are considered successful executions and all return with exit code 0. In case there is an unexpected error for 'status' or any other command the exit code will be 1.

comment:4 by Nicklas Nordborg, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [3992]) Fixes #728: should accept command status

Also made the jobagent log into it's own file (jobagent.log) instead of stdout

Note: See TracTickets for help on using tickets.