Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

3 Answers 3

up vote 1 down vote accepted

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

Unluckly there is no support to pause syncing.

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

share|improve this answer
add comment

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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