From 19944337066983382a708cd5a92be6ddb786f147 Mon Sep 17 00:00:00 2001 From: Simon Gravelle Date: Sun, 8 Sep 2024 14:25:34 +0200 Subject: [PATCH] added first tips --- docs/source/index.rst | 2 ++ docs/source/oarsub.rst | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 docs/source/oarsub.rst diff --git a/docs/source/index.rst b/docs/source/index.rst index a10cffc..fa27a0e 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -5,6 +5,8 @@ Unofficial tips and tricks page of the PSM team :maxdepth: 2 :caption: Contents: + oarsub + Indices and tables ================== diff --git a/docs/source/oarsub.rst b/docs/source/oarsub.rst new file mode 100644 index 0000000..a797cdc --- /dev/null +++ b/docs/source/oarsub.rst @@ -0,0 +1,11 @@ +OARSUB tips +=========== + +Cancel all jobs +--------------- + +.. code:: bash + + oarstat -u username | awk '{print $1}' | xargs -n 1 oardel + +where username should be replaced by your ID. \ No newline at end of file