Re: systemd timers

2017-03-07 Thread Gustavo Niemeyer
Yes, that's definitely what we want to do. Have a description in the app section in the yaml which allows recurring execution. On Tue, Mar 7, 2017 at 1:27 PM, Mark Shuttleworth wrote: > > I think scheduled tasks make sense as a first-class primitive. In the > same way we don't simply embed syste

Re: systemd timers

2017-03-07 Thread Mark Shuttleworth
I think scheduled tasks make sense as a first-class primitive. In the same way we don't simply embed systemd units, but rather describe what we want and have snapd generate the units accordingly, we probably want to describe a simple kind of schedule and have snapd map that to either cron or syste