71
71
</para>
72
72
<para>
73
73
To complete the installation of
74
- <filename>pgpro_scheduler</filename>:
74
+ <filename>pgpro_scheduler</filename>:</para>
75
75
<orderedlist>
76
76
<listitem>
77
77
<para>Modify the <filename>postgresql.conf</filename> file by adding
@@ -437,7 +437,7 @@ SELECT schedule.create_job('{"commands": "SELECT random()",
437
437
<title>Setting Additional Conditions for Job Execution</title>
438
438
<para>
439
439
The <filename>pgpro_scheduler</filename> extension enables you
440
- to define additional conditions for task execution:
440
+ to define additional conditions for task execution:</para>
441
441
<itemizedlist>
442
442
<listitem>
443
443
<para>
@@ -463,7 +463,8 @@ SELECT schedule.create_job('{"commands": "SELECT random()",
463
463
</listitem>
464
464
</itemizedlist>
465
465
<para>
466
- <emphasis role="strong">Examples:</emphasis> </para><para>To limit job
466
+ <emphasis role="strong">Examples:</emphasis> </para>
467
+ <para>To limit job
467
468
execution to 5 seconds:
468
469
<programlisting>
469
470
SELECT schedule.create_job('{"commands": "SELECT pg_sleep(10)", "cron": "15 */10 * * *", "max_run_time": "5 seconds" }');
@@ -698,7 +699,7 @@ SELECT schedule.create_job('{"commands": "SELECT ''zzz''", &
698
699
</para></listitem><listitem>
699
700
<para><literal>failure</literal> — transaction has failed to finish;.
700
701
</para></listitem><listitem>
701
- <para><literal>running</literal> &mdash
702
+ <para><literal>running</literal> —
702
703
transaction is in progress. </para></listitem>
703
704
<listitem>
704
705
<para><literal>undefined</literal> — transaction has
@@ -937,12 +938,12 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
937
938
<para><literal>minutes</literal> — minutes; an array of
938
939
integers in range [0, 59]
939
940
</para></listitem><listitem><para>
940
- <literal>hours</literal> &mdash
941
+ <literal>hours</literal> —
941
942
hours; an array of integers in range [0, 23]
942
943
</para></listitem><listitem><para>
943
944
<literal>days</literal> — days of the month; an array of
944
945
integers in range [1, 31]
945
- </para></listitem><listitem><para><literal>months</literal> &mdash
946
+ </para></listitem><listitem><para><literal>months</literal> —
946
947
months; an array of integers in range [1, 12]
947
948
</para></listitem><listitem><para>
948
949
<literal>wdays</literal> — days of the week; an array of
0 commit comments