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, 25.11.14 12:17, Richard Shaw (hobbes1069@xxxxxxxxx) wrote:

> 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?

There are plans to extend the concept of "transient" units to timer
units, which would then allow this nicely with nice tools. 

Other than that you can of course always write a timer unit in
/etc/systemd/system from a shell script, and then issue "systemctl
daemon-reload" and start it with "systemctl start".

Lennart

-- 
Lennart Poettering, Red Hat
-- 
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