Jump to content

Featured Replies

Posted

Hey guys,

 

I'm new in Linux industry. I stumbled upon here when I was not able to get my answers solved in dd-wrt forum.

 

Basically, there are 2 queries that I want to know.

 

First, Since my web server is on linux, what's the fastest and shortest guide to go through in order to learn the commands for my hosting server? (hostgator)

 

Secondly, since I have DD-wrt installed on my router, I am trying to add a command to auto-upload a file after every 15 minutes. I am able to auto-download but not auto-upload.

 

What's the command to do so?

 

Here's something for your reference:

 

Quote:

# Bandwidth Download/Upload Rate Counter

while :

do

/tmp/wrtbwmon setup

/tmp/wrtbwmon read

 

sleep 30

/tmp/wrtbwmon update /tmp/usage.db

/tmp/wrtbwmon publish /tmp/usage.db /tmp/www/usage.html /tmp/MAC-PCname.txt

done &

 

# Backup usage database file

while :

do

sleep 900

cp /tmp/usage.db /tmp/usage.db

done

I know i need to change something here.. but I'm stuck.

 

Kindly help!

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...