You are not logged in.

#1 2014-07-28 17:29:00

IMBJR
Member
From: INDCMPLX
Registered: 2014-03-16
Posts: 88

Starting a custom timer after network dependancy met

Or at least that's what I'd like, so I can have 'pacman -Sy' called hourly.

No matter the combination of After/Requires in the .timer config for network-target or dhcpcd, I cannot get the timer to trigger and instead will see:

Job timers.target/start deleted to break ordering cycle starting with basic.target/start

in the journal (an entry with very few results when looked for via Google). For example, 1 permutation I tried was to follow the example of the ntp daemon, which has:

After=network.target nss-lookup.target

but without results.

Seems the only way to get a timer to function is to to use OnBootSec and wait a few minutes.

Offline

Board footer

Powered by FluxBB