GUI tools for setting up indexing schedule, initial implementation done

This commit is contained in:
Jean-Francois Dockes
2011-12-07 13:41:05 +01:00
parent b9c64e8591
commit 07226fa306
17 changed files with 438 additions and 29 deletions
+4 -2
View File
@@ -17,6 +17,8 @@
#ifndef TEST_ECRONTAB
#include "autoconfig.h"
#include <stdio.h>
#include "ecrontab.h"
#include "execmd.h"
#include "smallut.h"
@@ -126,8 +128,8 @@ bool checkCrontabUnmanaged(const string& marker, const string& data)
bool getCrontabSched(const string& marker, const string& id,
vector<string>& sched)
{
fprintf(stderr, "getCrontabSched: marker[%s], id[%s]\n",
marker.c_str(), id.c_str());
LOGDEB0(("getCrontabSched: marker[%s], id[%s]\n",
marker.c_str(), id.c_str()));
vector<string> lines;
if (!eCrontabGetLines(lines)) {
// No crontab, answer is no