mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Add "Next start job" properties
Дабавлено указание следующего времени запуска Job.
This commit is contained in:
parent
babb16434f
commit
7d03e7efc0
2 changed files with 5 additions and 2 deletions
|
|
@ -144,10 +144,10 @@ public:
|
|||
bool novalid = false;
|
||||
|
||||
int nextp = getnext(_mi, sizeof(_mi) / sizeof(_mi[0]),mi, dr);
|
||||
if (nextp == -1) {
|
||||
if (nextp == -1 || !_wd[wd]) {
|
||||
mi = getfirst(_mi, sizeof(_mi) / sizeof(_mi[0]), dr);
|
||||
nextp = getnext(_h, sizeof(_h) / sizeof(_h[0]), h, dr);
|
||||
if (nextp == -1) {
|
||||
if (nextp == -1 || !_wd[wd]) {
|
||||
// hours
|
||||
h = getfirst(_h, sizeof(_h) / sizeof(_h[0]), dr);
|
||||
do {
|
||||
|
|
|
|||
|
|
@ -148,6 +148,9 @@ void pgproJob::ShowTreeDetail(ctlTree *browser, frmMain *form, ctlListView *prop
|
|||
properties->AppendItem(_("Comment"), firstLineOnly(GetComment()));
|
||||
//wxDateTime dt= GetNextSchedule_At(GetStarted(),-1);
|
||||
wxDateTime t = wxDateTime::Now();
|
||||
wxDateTime nextdt = GetNextSchedule_At(t, 1);
|
||||
properties->AppendItem(_("Next start job"), nextdt);
|
||||
|
||||
wxDateTime dt = GetStarted();
|
||||
if (!dt.IsValid()) dt = t;
|
||||
wxDateTime prev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue