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