1 |
On Sun, Mar 1, 2015 at 1:20 PM, Marc Joliet <marcec@×××.de> wrote: |
2 |
> |
3 |
> Regardless: thoughts? |
4 |
|
5 |
I'd probably just do this: |
6 |
> Am Sun, 1 Mar 2015 08:34:19 -0500 |
7 |
> schrieb Rich Freeman <rich0@g.o>: |
8 |
>> |
9 |
>> The timer keeps running if you set the dependency on the service. So, |
10 |
>> next time the timer runs, it will try again. You might want to just |
11 |
>> set an hourly job and have it check for a successful run in the last |
12 |
>> day or whatever. |
13 |
>> |
14 |
|
15 |
You could of course trigger this from either the mount or hourly. |
16 |
Anytime you mount the drive or every hour systemd will run the |
17 |
service, and the service will see if it managed to do a backup/etc in |
18 |
the last day/week/whatever, and then run if appropriate. |
19 |
|
20 |
-- |
21 |
Rich |