Re: systemd.timer: Get next start time from unit being run?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 25, 2014 at 08:21:38PM -0500, Sam Varshavchik wrote:
> Richard Shaw writes:
> 
> >I've got a TV schedule grabber script that needs to be run on a
> >more or less daily basis. That would be good enough, but the
> >script suggests a next start time in it's output when it
> >completes.
> >
> >
> >If I can figure out a way to pull that time from the script, is
> >there a way to pass that to systemd?
No, unfortunately. If you use system, I don't see a better way than
to construct a timer unit for the specified time (in /run probably)
and start it.

> How about using at(1) to schedule the next script run?
That might be nicer to user.

Zbyszek
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux