GliderGeek / pocket2rm

get articles from read-later platform pocket to the remarkable paper tablet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use network-online.target to trigger synchronisation?

andypillip opened this issue · comments

Hi @GliderGeek et al. I would have liked to discuss by mail or chat, but there are no contact data (:

I was wondering why there were two services, and a duplicate of the utils file, so I read some code.

The reload service seems to react to home.mount, and the normal service reacts to home.mount and the UI to come up xochitl.service.

Now I was wondering when and how often these events rise on a reMarkable. I don't know when reMarkable actually shuts down, as it probably mostly goes into standby?

Is the Pocket sync triggered often enough is my question.

Or might network-up.target actually be a better event, since it probably gets called after each wake-up, and seems to be used by the reMarkable itself to sync.