/* Copyright (C) 2019 J.F.Dockes
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "autoconfig.h"
#include "winschedtool.h"
#include We use the standard Windows task scheduler for this. The program "
"will be started when you click the button below. You can use either the full interface "
"(Create task in the menu on the right), or the simplified "
"Create Basic task wizard. In both cases Copy/Paste the "
"batch file path listed below as the Action to be performed."
"Recoll indexing batch scheduling
"
"
").append(u8s2qs(batchfile)).append("
"); explainLBL->setText(blurb); explainLBL->setTextInteractionFlags(Qt::TextSelectableByMouse); } void WinSchedToolW::startWinScheduler() { if (m_cmd) { int status; if (m_cmd->maybereap(&status)) { delete m_cmd; } else { QMessageBox::warning(0, "Recoll", tr("Command already started")); return; } } m_cmd = new ExecCmd(); vector