Starting and stopping services at specific times using Upstart

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


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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list