mirror of https://github.com/dnomd343/ClearDNS
Dnomd343
2 years ago
5 changed files with 30 additions and 1 deletions
@ -0,0 +1,9 @@ |
|||
#ifndef CRONTAB_H_ |
|||
#define CRONTAB_H_ |
|||
|
|||
#include "config.h" |
|||
#include "process.h" |
|||
|
|||
process* assets_load(assets_config *info); |
|||
|
|||
#endif |
@ -1,4 +1,4 @@ |
|||
cmake_minimum_required(VERSION 2.8.12) |
|||
|
|||
add_library(applet adguard.c dnsproxy.c overture.c) |
|||
add_library(applet adguard.c dnsproxy.c overture.c crontab.c) |
|||
target_link_libraries(applet bcrypt utils) |
|||
|
@ -0,0 +1,12 @@ |
|||
#include "process.h" |
|||
#include "config.h" |
|||
#include "logger.h" |
|||
|
|||
process* assets_load(assets_config *info) { // load assets update options
|
|||
log_info("assets test ok"); |
|||
|
|||
// TODO: update assets process
|
|||
// TODO: save cron exp in `/var/spool/cron/crontabs/root`
|
|||
|
|||
return process_init("Crontab", "crond"); |
|||
} |
Loading…
Reference in new issue