|
|
@ -13,6 +13,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <db/db.h>
|
|
|
|
#include <db/create.h>
|
|
|
|
#include <util/notifications.h>
|
|
|
|
#include <util/calendar_parsing.h>
|
|
|
|
|
|
|
@ -91,11 +92,14 @@ int main(void) |
|
|
|
//close(STDERR_FILENO);
|
|
|
|
|
|
|
|
// Daemon-specific intialization should go here
|
|
|
|
|
|
|
|
const int SLEEP_INTERVAL = 5 * MINUTE; |
|
|
|
|
|
|
|
std::string calendar = "dummy"; |
|
|
|
std::string directory = "/home/stefan/.local/share/khal/calendars/" + calendar + "/"; |
|
|
|
init_database(calendar); |
|
|
|
|
|
|
|
|
|
|
|
// Enter daemon loop
|
|
|
|
while(1) |
|
|
|
{ |
|
|
|