Opened 15 years ago
Closed 15 years ago
#729 closed enhancement (fixed)
./jobagent.sh 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: |
Description
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 Changed 15 years ago by
Milestone: | → BASE 2.5 |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Owner: | changed from everyone to Nicklas Nordborg |
---|---|
Status: | new → assigned |
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 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Hmmm... what exactly does this mean? Is there some "standardized" response from startup scripts? Running / Stopped / more?