summaryrefslogtreecommitdiff
path: root/docs/system/task-scheduler.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:36 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:38 +0100
commit6aa3cbb611f74bdf8e44d5527f5138f3122a7497 (patch)
tree009a1fe9447bdd980d5017d49f102e7ccdace03b /docs/system/task-scheduler.rst
parent76bbe2744d7184ee50626d9d7b65f21dad1c7e99 (diff)
downloadvyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.tar.gz
vyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.zip
Refactor "code-block:: sh" to "code-block:: console"
This will add proper new-lines into the rendered PDF. Before if it has been a long line, not all content was preserved in the PDF.
Diffstat (limited to 'docs/system/task-scheduler.rst')
-rw-r--r--docs/system/task-scheduler.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/system/task-scheduler.rst b/docs/system/task-scheduler.rst
index 73057afd..20a8640c 100644
--- a/docs/system/task-scheduler.rst
+++ b/docs/system/task-scheduler.rst
@@ -7,7 +7,7 @@ Task scheduler
| Task scheduler — allows scheduled task execution. Note that scripts excecuted this way are executed as root user - this may be dangerous.
| Together with :ref:`commandscripting` this can be used for automating configuration.
-.. code-block:: sh
+.. code-block:: console
system
task-scheduler
@@ -24,7 +24,7 @@ Interval
You are able to set the time as an time interval.
-.. code-block:: sh
+.. code-block:: console
set system task-scheduler task <name> interval <value><suffix>
@@ -38,14 +38,14 @@ If suffix is omitted, minutes are implied.
Or set the execution time in common cron time.
-.. code-block:: sh
+.. code-block:: console
set system task-scheduler task TEST crontab-spec "* * * 1 *"
Example
*******
-.. code-block:: sh
+.. code-block:: console
system
task-scheduler