Persistence - How to keep process running automatically #2746
-
I am able to get onedrive to sync manually from my pc to the cloud. Is there a command to get it to autosync? I tried using --monitor and --synchronize and both will initiate a sync but do not provide ongoing mirroring. Is there a modifier I need to apply to get it to keep syncing? Also does it autorun on boot or do I need to apply a modifier to do this? Alternately I know I can add it to cron to get it to do what I need but first wanted to check to see if I am missing something?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Autosync is achieved by setting up a 'systemd service' which then runs the client in
I am surprised by this statement ... as
This is the 'systemd' service. If you want to systemd service to run without you logging in, you need to use the
If you go down the 'cron' route, you want to use Whatever you do, do not use References:
|
Beta Was this translation helpful? Give feedback.
@kimjonguntastic
Autosync is achieved by setting up a 'systemd service' which then runs the client in
--monitor
mode.I am surprised by this statement ... as
--monitor
provides ongoing monitoring of the local filesystem for changes, and will pull down changes done online after specific time intervals.This is the 'systemd' service. If you want to systemd service to run without you logging in, you ne…