look into tasker
you can set up triggers to carry out various actions with it...
i'm not sure of the extent to which you can customize those triggers but if you can do like "every 2 hours perform this action", or "on boot perform this action" - you should be able to build a working configuration for server management...
and of course, there is a subreddit for it: /r/tasker