diff --git a/docs/docs.org b/docs/docs.org index af4febb..b5cbc95 100644 --- a/docs/docs.org +++ b/docs/docs.org @@ -620,7 +620,8 @@ information. Name Hostname - Time + Minute + Hour Day of Week Day of Month Month @@ -629,7 +630,8 @@ information. {{ cronjob.name }} {{ cronjob.host }} - {{ cronjob.time }} + {{ cronjob.minutes }} + {{ cronjob.hours }} {{ cronjob.weekday }} {{ cronjob.day }} {{ cronjob.month }} @@ -698,17 +700,30 @@ there are any cron jobs. ** cronjob_details.html - +The cron job details page shows all the information related to a cron job. #+BEGIN_SRC html :tangle ../inventory/templates/inventory/cronjob_details.html {% extends "inventory/base.html" %} {% block section_title %}{{ cronjob.name }}{% endblock %} {% block content %} -

Description

-

Host: {{ cronjob.host }}

-

Command: {{ cronjob.command }}

-

Time: {{ cronjob.time }}

-

Weekday: {{ cronjob.weekday }}

-

Month: {{ cronjob.month }}

+

Description

+

Host: {{ cronjob.host }}

+

Command: {{ cronjob.command }}

+ + + + + + + + + + + + + + + +
MinuteHourDay of WeekDay of MonthMonth
{{ cronjob.minutes }}{{ cronjob.hours }}{{ cronjob.weekday }}{{ cronjob.day }}{{ cronjob.month }}
{% endblock %} #+END_SRC diff --git a/inventory/templates/inventory/cronjob_details.html b/inventory/templates/inventory/cronjob_details.html index bd0b930..0a4cc7e 100644 --- a/inventory/templates/inventory/cronjob_details.html +++ b/inventory/templates/inventory/cronjob_details.html @@ -1,10 +1,23 @@ {% extends "inventory/base.html" %} {% block section_title %}{{ cronjob.name }}{% endblock %} {% block content %} -

Description

-

Host: {{ cronjob.host }}

-

Command: {{ cronjob.command }}

-

Time: {{ cronjob.time }}

-

Weekday: {{ cronjob.weekday }}

-

Month: {{ cronjob.month }}

+

Description

+

Host: {{ cronjob.host }}

+

Command: {{ cronjob.command }}

+ + + + + + + + + + + + + + + +
MinuteHourDay of WeekDay of MonthMonth
{{ cronjob.minutes }}{{ cronjob.hours }}{{ cronjob.weekday }}{{ cronjob.day }}{{ cronjob.month }}
{% endblock %} diff --git a/inventory/templates/inventory/index.html b/inventory/templates/inventory/index.html index 483a273..8d45449 100644 --- a/inventory/templates/inventory/index.html +++ b/inventory/templates/inventory/index.html @@ -27,7 +27,8 @@ Name Hostname - Time + Minute + Hour Day of Week Day of Month Month @@ -36,7 +37,8 @@ {{ cronjob.name }} {{ cronjob.host }} - {{ cronjob.time }} + {{ cronjob.minutes }} + {{ cronjob.hours }} {{ cronjob.weekday }} {{ cronjob.day }} {{ cronjob.month }}