Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer

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

share|improve this answer
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

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.

share|improve this answer
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .