@@ -176,7 +176,7 @@ <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>
176176 < dd > < a href ="#Scheduler.Config "> func (sch *Scheduler) Config() config.CmdOptions</ a > </ dd >
177177
178178
179- < dd > < a href ="#Scheduler.ExecuteProgramCommand "> func (sch *Scheduler) ExecuteProgramCommand(ctx context.Context, command string , paramValues []string) (code int, stdout string, stderr error) </ a > </ dd >
179+ < dd > < a href ="#Scheduler.ExecuteProgramCommand "> func (sch *Scheduler) ExecuteProgramCommand(ctx context.Context, task *pgengine.ChainTask , paramValues []string) error</ a > </ dd >
180180
181181
182182 < dd > < a href ="#Scheduler.IsReady "> func (sch *Scheduler) IsReady() bool</ a > </ dd >
@@ -215,7 +215,7 @@ <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>
215215 < dd > < a href ="#Scheduler.deleteActiveChain "> func (sch *Scheduler) deleteActiveChain(id int)</ a > </ dd >
216216
217217
218- < dd > < a href ="#Scheduler.executeBuiltinTask "> func (sch *Scheduler) executeBuiltinTask(ctx context.Context, name string , paramValues []string) (stdout string, err error)</ a > </ dd >
218+ < dd > < a href ="#Scheduler.executeBuiltinTask "> func (sch *Scheduler) executeBuiltinTask(ctx context.Context, task *pgengine.ChainTask , paramValues []string) (err error)</ a > </ dd >
219219
220220
221221 < dd > < a href ="#Scheduler.executeChain "> func (sch *Scheduler) executeChain(ctx context.Context, chain Chain)</ a > </ dd >
@@ -224,7 +224,7 @@ <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>
224224 < dd > < a href ="#Scheduler.executeOnErrorHandler "> func (sch *Scheduler) executeOnErrorHandler(ctx context.Context, chain Chain)</ a > </ dd >
225225
226226
227- < dd > < a href ="#Scheduler.executeTask "> func (sch *Scheduler) executeTask(ctx context.Context, tx pgx.Tx, task *pgengine.ChainTask) int </ a > </ dd >
227+ < dd > < a href ="#Scheduler.executeTask "> func (sch *Scheduler) executeTask(ctx context.Context, tx pgx.Tx, task *pgengine.ChainTask) error </ a > </ dd >
228228
229229
230230 < dd > < a href ="#Scheduler.intervalChainWorker "> func (sch *Scheduler) intervalChainWorker(ctx context.Context, ichains <-chan IntervalChain)</ a > </ dd >
@@ -339,7 +339,7 @@ <h2 id="getTimeoutContext">func <a href="/pg_timetable/devel/godoc/src/github.co
339339
340340
341341
342- < h2 id ="taskCopyFromFile "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L79 "> taskCopyFromFile</ a >
342+ < h2 id ="taskCopyFromFile "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L85 "> taskCopyFromFile</ a >
343343 < a class ="permalink " href ="#taskCopyFromFile "> ¶</ a >
344344
345345
@@ -352,7 +352,7 @@ <h2 id="taskCopyFromFile">func <a href="/pg_timetable/devel/godoc/src/github.com
352352
353353
354354
355- < h2 id ="taskCopyFromProgram "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L128 "> taskCopyFromProgram</ a >
355+ < h2 id ="taskCopyFromProgram "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L134 "> taskCopyFromProgram</ a >
356356 < a class ="permalink " href ="#taskCopyFromProgram "> ¶</ a >
357357
358358
@@ -365,7 +365,7 @@ <h2 id="taskCopyFromProgram">func <a href="/pg_timetable/devel/godoc/src/github.
365365
366366
367367
368- < h2 id ="taskCopyToFile "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L95 "> taskCopyToFile</ a >
368+ < h2 id ="taskCopyToFile "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L101 "> taskCopyToFile</ a >
369369 < a class ="permalink " href ="#taskCopyToFile "> ¶</ a >
370370
371371
@@ -378,7 +378,7 @@ <h2 id="taskCopyToFile">func <a href="/pg_timetable/devel/godoc/src/github.com/c
378378
379379
380380
381- < h2 id ="taskCopyToProgram "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L111 "> taskCopyToProgram</ a >
381+ < h2 id ="taskCopyToProgram "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L117 "> taskCopyToProgram</ a >
382382 < a class ="permalink " href ="#taskCopyToProgram "> ¶</ a >
383383
384384
@@ -391,7 +391,7 @@ <h2 id="taskCopyToProgram">func <a href="/pg_timetable/devel/godoc/src/github.co
391391
392392
393393
394- < h2 id ="taskDownload "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L145 "> taskDownload</ a >
394+ < h2 id ="taskDownload "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L151 "> taskDownload</ a >
395395 < a class ="permalink " href ="#taskDownload "> ¶</ a >
396396
397397
@@ -404,7 +404,7 @@ <h2 id="taskDownload">func <a href="/pg_timetable/devel/godoc/src/github.com/cyb
404404
405405
406406
407- < h2 id ="taskLog "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L66 "> taskLog</ a >
407+ < h2 id ="taskLog "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L72 "> taskLog</ a >
408408 < a class ="permalink " href ="#taskLog "> ¶</ a >
409409
410410
@@ -417,7 +417,7 @@ <h2 id="taskLog">func <a href="/pg_timetable/devel/godoc/src/github.com/cybertec
417417
418418
419419
420- < h2 id ="taskNoOp "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L48 "> taskNoOp</ a >
420+ < h2 id ="taskNoOp "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L54 "> taskNoOp</ a >
421421 < a class ="permalink " href ="#taskNoOp "> ¶</ a >
422422
423423
@@ -430,7 +430,7 @@ <h2 id="taskNoOp">func <a href="/pg_timetable/devel/godoc/src/github.com/cyberte
430430
431431
432432
433- < h2 id ="taskSendMail "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L71 "> taskSendMail</ a >
433+ < h2 id ="taskSendMail "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L77 "> taskSendMail</ a >
434434 < a class ="permalink " href ="#taskSendMail "> ¶</ a >
435435
436436
@@ -443,7 +443,7 @@ <h2 id="taskSendMail">func <a href="/pg_timetable/devel/godoc/src/github.com/cyb
443443
444444
445445
446- < h2 id ="taskShutdown "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L161 "> taskShutdown</ a >
446+ < h2 id ="taskShutdown "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L167 "> taskShutdown</ a >
447447 < a class ="permalink " href ="#taskShutdown "> ¶</ a >
448448
449449
@@ -456,7 +456,7 @@ <h2 id="taskShutdown">func <a href="/pg_timetable/devel/godoc/src/github.com/cyb
456456
457457
458458
459- < h2 id ="taskSleep "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L52 "> taskSleep</ a >
459+ < h2 id ="taskSleep "> func < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L58 "> taskSleep</ a >
460460 < a class ="permalink " href ="#taskSleep "> ¶</ a >
461461
462462
@@ -632,12 +632,12 @@ <h3 id="Scheduler.Config">func (*Scheduler) <a href="/pg_timetable/devel/godoc/s
632632
633633
634634
635- < h3 id ="Scheduler.ExecuteProgramCommand "> func (*Scheduler) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L29 "> ExecuteProgramCommand</ a >
635+ < h3 id ="Scheduler.ExecuteProgramCommand "> func (*Scheduler) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L30 "> ExecuteProgramCommand</ a >
636636 < a class ="permalink " href ="#Scheduler.ExecuteProgramCommand "> ¶</ a >
637637
638638
639639 </ h3 >
640- < pre > func (sch *< a href ="#Scheduler "> Scheduler</ a > ) ExecuteProgramCommand(ctx < a href ="https://pkg.go.dev/context/ "> context</ a > .< a href ="https://pkg.go.dev/context/#Context "> Context</ a > , command < a href ="https://pkg.go.dev/builtin/#string " > string </ a > , paramValues [] < a href =" https://pkg.go.dev/builtin/#string " > string </ a > ) (code < a href ="https:// pkg.go.dev/builtin/#int " > int </ a > , stdout < a href ="https://pkg.go.dev/builtin/#string "> string</ a > , stderr < a href ="https://pkg.go.dev/builtin/#error "> error</ a > ) </ pre >
640+ < pre > func (sch *< a href ="#Scheduler "> Scheduler</ a > ) ExecuteProgramCommand(ctx < a href ="https://pkg.go.dev/context/ "> context</ a > .< a href ="https://pkg.go.dev/context/#Context "> Context</ a > , task * < a href ="/pg_timetable/devel/godoc/pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/ " > pgengine </ a > . < a href ="/pg_timetable/devel/godoc/ pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/#ChainTask " > ChainTask </ a > , paramValues [] < a href ="https://pkg.go.dev/builtin/#string "> string</ a > ) < a href ="https://pkg.go.dev/builtin/#error "> error</ a > </ pre >
641641 < p > ExecuteProgramCommand executes program command and returns status code, output and error if any
642642
643643
@@ -797,12 +797,12 @@ <h3 id="Scheduler.deleteActiveChain">func (*Scheduler) <a href="/pg_timetable/de
797797
798798
799799
800- < h3 id ="Scheduler.executeBuiltinTask "> func (*Scheduler) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L28 "> executeBuiltinTask</ a >
800+ < h3 id ="Scheduler.executeBuiltinTask "> func (*Scheduler) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/tasks.go.html#L29 "> executeBuiltinTask</ a >
801801 < a class ="permalink " href ="#Scheduler.executeBuiltinTask "> ¶</ a >
802802
803803
804804 </ h3 >
805- < pre > func (sch *< a href ="#Scheduler "> Scheduler</ a > ) executeBuiltinTask(ctx < a href ="https://pkg.go.dev/context/ "> context</ a > .< a href ="https://pkg.go.dev/context/#Context "> Context</ a > , name < a href ="https:// pkg.go.dev/builtin/#string " > string </ a > , paramValues [] < a href ="https:// pkg.go.dev/builtin/#string " > string </ a > ) (stdout < a href ="https://pkg.go.dev/builtin/#string "> string</ a > , err < a href ="https://pkg.go.dev/builtin/#error "> error</ a > )</ pre >
805+ < pre > func (sch *< a href ="#Scheduler "> Scheduler</ a > ) executeBuiltinTask(ctx < a href ="https://pkg.go.dev/context/ "> context</ a > .< a href ="https://pkg.go.dev/context/#Context "> Context</ a > , task * < a href ="/pg_timetable/devel/godoc/ pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/ " > pgengine </ a > . < a href ="/pg_timetable/devel/godoc/ pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/#ChainTask " > ChainTask </ a > , paramValues [] < a href ="https://pkg.go.dev/builtin/#string "> string</ a > ) ( err < a href ="https://pkg.go.dev/builtin/#error "> error</ a > )</ pre >
806806
807807
808808
@@ -834,12 +834,12 @@ <h3 id="Scheduler.executeOnErrorHandler">func (*Scheduler) <a href="/pg_timetabl
834834
835835
836836
837- < h3 id ="Scheduler.executeTask "> func (*Scheduler) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/chain.go.html#L250 "> executeTask</ a >
837+ < h3 id ="Scheduler.executeTask "> func (*Scheduler) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/chain.go.html#L255 "> executeTask</ a >
838838 < a class ="permalink " href ="#Scheduler.executeTask "> ¶</ a >
839839
840840
841841 </ h3 >
842- < pre > func (sch *< a href ="#Scheduler "> Scheduler</ a > ) executeTask(ctx < a href ="https://pkg.go.dev/context/ "> context</ a > .< a href ="https://pkg.go.dev/context/#Context "> Context</ a > , tx < a href ="https://pkg.go.dev/github.com/jackc/pgx/v5/ "> pgx</ a > .< a href ="https://pkg.go.dev/github.com/jackc/pgx/v5/#Tx "> Tx</ a > , task *< a href ="/pg_timetable/devel/godoc/pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/ "> pgengine</ a > .< a href ="/pg_timetable/devel/godoc/pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/#ChainTask "> ChainTask</ a > ) < a href ="https://pkg.go.dev/builtin/#int " > int </ a > </ pre >
842+ < pre > func (sch *< a href ="#Scheduler "> Scheduler</ a > ) executeTask(ctx < a href ="https://pkg.go.dev/context/ "> context</ a > .< a href ="https://pkg.go.dev/context/#Context "> Context</ a > , tx < a href ="https://pkg.go.dev/github.com/jackc/pgx/v5/ "> pgx</ a > .< a href ="https://pkg.go.dev/github.com/jackc/pgx/v5/#Tx "> Tx</ a > , task *< a href ="/pg_timetable/devel/godoc/pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/ "> pgengine</ a > .< a href ="/pg_timetable/devel/godoc/pkg/github.com/cybertec-postgresql/pg_timetable/internal/pgengine/#ChainTask "> ChainTask</ a > ) < a href ="https://pkg.go.dev/builtin/#error " > error </ a > </ pre >
843843 < p > execute a task
844844
845845
@@ -945,7 +945,7 @@ <h3 id="Scheduler.terminateChains">func (*Scheduler) <a href="/pg_timetable/deve
945945
946946
947947
948- < h2 id ="commander "> type < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L12 "> commander</ a >
948+ < h2 id ="commander "> type < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L13 "> commander</ a >
949949 < a class ="permalink " href ="#commander "> ¶</ a >
950950
951951
@@ -973,7 +973,7 @@ <h2 id="commander">type <a href="/pg_timetable/devel/godoc/src/github.com/cybert
973973
974974
975975
976- < h2 id ="realCommander "> type < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L16 "> realCommander</ a >
976+ < h2 id ="realCommander "> type < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L17 "> realCommander</ a >
977977 < a class ="permalink " href ="#realCommander "> ¶</ a >
978978
979979
@@ -994,7 +994,7 @@ <h2 id="realCommander">type <a href="/pg_timetable/devel/godoc/src/github.com/cy
994994
995995
996996
997- < h3 id ="realCommander.CombinedOutput "> func (realCommander) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L19 "> CombinedOutput</ a >
997+ < h3 id ="realCommander.CombinedOutput "> func (realCommander) < a href ="/pg_timetable/devel/godoc/src/github.com/cybertec-postgresql/pg_timetable/internal/scheduler/shell.go.html#L20 "> CombinedOutput</ a >
998998 < a class ="permalink " href ="#realCommander.CombinedOutput "> ¶</ a >
999999
10001000
0 commit comments