3

Now I have unlim Internet only on some part of day(03:00 - 08:00).

Is it possible to allow DropBox syncing only in this time and pause syncing at other time?

I'm on Ubuntu 11.04

1

You could use the official Dropbox CLI to start/stop the dropboxd by cron.

Unfortunately there is no support to pause syncing.

You can also install dropboxd as a system daemon using this how to.

1

You can just end the dropbox process then, and restart it later. That should do what you want.

Syntax for the scheduled task is: Taskkill /IM dropbox.exe

  • hm, ok probably I can use cron. Can I do not start/stop but only pause/resume syncing by command line? – RiaD Aug 26 '11 at 12:56
1

Depending on what firewall you use, you may be able to set up a rule to block traffic from the DropBox app during certain times of the day, and allow it at other times of the day.

  • Is there a reliable way to block packets per-process in Linux? I think packet matching by pid was deprecated in iptables sometime ago. Of course, it's possible to run dropbox as distinct user and match packets by --uid-owner – vtest Aug 26 '11 at 13:00
  • I don't know. I answered before question was edited. Personally, I try to stay away from iptables whenever possible simply because I don't feel comfortable configuring it properly. – MBraedley Aug 26 '11 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.