mirror of https://github.com/oxen-io/lokinet
26 lines
423 B
C++
26 lines
423 B
C++
#ifndef BOOTSERV_LOKINET_CRON_HPP
|
|
#define BOOTSERV_LOKINET_CRON_HPP
|
|
|
|
#include "handler.hpp"
|
|
|
|
namespace lokinet
|
|
{
|
|
namespace bootserv
|
|
{
|
|
struct CronHandler final : public Handler
|
|
{
|
|
CronHandler(std::ostream& o);
|
|
~CronHandler();
|
|
|
|
int
|
|
Exec(const Config& conf) override;
|
|
|
|
int
|
|
ReportError(const char* err) override;
|
|
};
|
|
|
|
} // namespace bootserv
|
|
} // namespace lokinet
|
|
|
|
#endif
|