Timeline for Check if script is started by cron, rather than invoked manually
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 11, 2019 at 16:58 | comment | added | mdd | This works only for Linux ps. For MacOS (as well as Linux, maybe *BSD too), you can use the following P_COMMAND: P_COMMAND=$(basename -a $(ps h -o comm $PPPID)) | |
| S Sep 9, 2014 at 9:54 | history | suggested | TPS | CC BY-SA 3.0 | improved formatting |
| Sep 9, 2014 at 9:48 | review | Late answers | |||
| Sep 9, 2014 at 9:55 | |||||
| Sep 9, 2014 at 9:35 | review | Suggested edits | |||
| S Sep 9, 2014 at 9:54 | |||||
| Sep 9, 2014 at 9:34 | review | First posts | |||
| Sep 9, 2014 at 9:36 | |||||
| Sep 9, 2014 at 9:31 | history | answered | Olray | CC BY-SA 3.0 |