Decrease monitor time onedrive as a service #1893
-
Hello, I've been using this amazing program for a while now, but I was wondering if there was a way to decrease the time of the syncing cycle when Onedrive is started as a service. Right now each cycle happens every 20 minutes, which is quite a lot... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It is odd that your default is 20 mins - as, the application default is 300 seconds (5 mins). Look at your application configuration via
The option you are looking for is 'monitor_interval' - edit your applicable 'config' file and then retest your configuration, then restart your services as required - otherwise the change will not be picked up. My advice is do not go too low - otherwise, the client will forever be running - consuming CPU & power and if on a laptop, draining your battery. 300 seconds (5 mins) is the right value here.
You can get realtime downloads from OneDrive by using 'webhooks' - but you need to configure this - refer to https://github.com/abraunegg/onedrive/blob/master/docs/USAGE.md#use-webhook-to-subscribe-to-remote-updates-in-monitor-mode |
Beta Was this translation helpful? Give feedback.
@jackal1-66
It is odd that your default is 20 mins - as, the application default is 300 seconds (5 mins).
Look at your application configuration via
onedrive --display-config
- be mindful here that if your service configuration is using a specific configuration file you need to also pass in the--confdir <path>
to ensure you are displaying the right configuration - example: