SprinklerD/sd_cron.h

19 lines
373 B
C
Raw Normal View History

2018-06-16 21:52:48 +00:00
#ifndef SD_CRON_H_
#define SD_CRON_H_
#include <stdbool.h>
//#define CRON_FILE "./sprinkler.cron"
#define CRON_FILE "/etc/cron.d/sprinklerd"
#define TIMEDIFF_CRON_UPDATE 20
void check_cron();
void write_cron();
void read_cron();
void enable_delay24h(bool state);
bool check_delay24h();
2018-06-21 14:58:45 +00:00
void reset_delay24h_time();
2018-06-22 17:58:28 +00:00
void enable_calendar(bool state);
2018-06-16 21:52:48 +00:00
#endif // SD_CRON_H_