|
|
#1 |
|
Baseband Member
Join Date: Jul 2008
Posts: 27
|
I have an old compaq deskpro with 256MB of RAM and a 500MHz processor running Debian 4. I need to get it to visit the update url of sitelutions every 10 mins or so. How would I get it to do this? Since I have moved it from another machine, X is stuffed but I have a terminal and webmin installed (I probably could get X working if the job required it, but it uses system resources so I'd rather not.)
__________________
Failiure is not an option... it comes bundled with Windows. |
|
|
|
|
|
#2 |
|
Site Team
Join Date: Mar 2004
Posts: 6,945
|
you schedule jobs on linux using cron jobs.
the best thing to do would be to write a shell script to do what you want to do, (like a batch file under windows). then use crontab to schedule the job (probably best that you google exactly how to do what you want to do).
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian… Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns. "The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries." |
|
|
|
|
|
#3 |
|
Baseband Member
Join Date: Jul 2008
Posts: 27
|
Yeah, i need it to visit a particular URL using cron. I havent a clue when it comes to bash scripts so I was hoping someone could help me there.
Do you reckon geting iceweasel to visit a url every 10 minutes would be a good way of doing it?
__________________
Failiure is not an option... it comes bundled with Windows. |
|
|
|
|
|
#4 |
|
Baseband Member
Join Date: Jul 2008
Posts: 27
|
Sorted it. Thanx for the tip about cron, just get it to run a perl script every 5 mins.
__________________
Failiure is not an option... it comes bundled with Windows. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|