Starting and stopping services at specific times using Upstart

Andrew Langhorn andrew at ajlanghorn.com
Thu Feb 26 15:43:51 UTC 2015


Hi,


I have a service which is managed using Upstart, and I would like to start and stop this service at specific times. The machine on which the service runs is managed by Puppet.


Whilst I could use Cron for this, I wondered if similar was possible with Upstart? For instance, given two times, the service name and the action, ensure that the service isn't running between those two times.


Is this possible, or is it going to be better to use Cron and work through any additional headaches Puppet throws at me?


Thanks,


Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150226/a821b6e9/attachment.html>


More information about the ubuntu-users mailing list