crontab oddity

walter harms wharms at bfs.de
Sat Jun 27 09:41:19 UTC 2009



alan lenton schrieb:
> 
> Hi,
> 
> I'm using BusyBox  with OpenWrt, and I have a strange problem, which I
> was wondering if anyone else had encountered.
> 
> I have written a C/C++ program which uses the curl libraries to test the
> speed of a broadband line. If I run the program manually via a shell
> script it produces plausable results. However, if I add it into the
> crontab to run the script automatically, I get figures which are
> consistently around 10Mbits slower than when I run it by hand!
> 
> This is a kinda show-stopper, and I was wondering if anyone had
> encountered anything like this before, or had any suggestions about what
> the problem might be.
> 

the common difference between cronjobs and shelljobs (just invented that word)
are mostly PATH.
NTL your system design may slow down the network for saving energy.
it would be nice to know if the problem is "only" display.
When you download a file (cron/shell), do you get always the same times ? does it
relate to your bandwidth measurements ?
I have often used iptraf (something like that) does it show the compareable results ?

re,
 wh







More information about the busybox mailing list