Switch to side-by-side view
--- a/src/utils/ecrontab.h +++ b/src/utils/ecrontab.h @@ -33,7 +33,9 @@ */ #include <string> +#include <vector> using std::string; +using std::vector; /** Add, replace or delete a command inside a crontab file * @@ -62,4 +64,8 @@ */ bool checkCrontabUnmanaged(const string& marker, const string& data); +/** Retrieve the scheduling for a crontab entry */ +bool getCrontabSched(const string& marker, const string& id, + vector<string>& sched); + #endif /* _ECRONTAB_H_INCLUDED_ */