Before taking that route you might investigate:
http://www.bizland.com/
which will give you a free subdomain.bizland.com with website and e-mail.

Or, if you have your own domain name but use a dynamic IP address you might
check out:
http://www.dyndns.com/
along with:
http://soa.granitecanyon.com/
to have your domain mapped back to your dial-up IP address so you can use
your own server for e-mail, http, etc.

I haven't found the time to get this working for myself, but I belive it can
be done.

Hope this helps,
Bill



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of root
Sent: Sunday, June 04, 2000 3:37 PM
To: [EMAIL PROTECTED]
Subject: [expert] cron question


I am trying to get dynamip (www.dynamip.com) to work with my linux box
and cable modem connection. Dynamip gives you a
"subdomain.dynamip.com" address for $3 buck a month. To get their
service to work with Linux, I will have to use cron to force netscape
to open a specific url every 15 minutes. I am in the process of
putting together some scripts to do just that.

As a test, I did the following.
I made a file called "netscapetab" with the contents:

#Start of netscapetab

       #! /bin/sh

       netscape  -noraise -remote 'openurl(http://www.news.com)'

#End of netscapetab


I did a "chkmod +x netscapetab" to make the script executable. Run
from the shell, this script will find the first open netscape window
and load up the News.com web site.

As a test of cron I modified my crontab as follows


#Start of crontab

   SHELL=/bin/bash
   PATH=/sbin:/bin:/usr/sbin:/usr/bin
   MAILTO=root
   HOME=/

   # run-parts
   01  * * * * root run-parts /etc/cron.hourly
   02  4 * * * root run-parts /etc/cron.daily
   22  4 * * 0 root run-parts /etc/cron.weekly
   42  4 1 * * root run-parts /etc/cron.monthly
   */1 * * * * root /usr/bin/netscapetab

   # Mandrake-Security : if you remove this comment, remove the next line
too.
   0   0 * * *    root    /etc/security/msec/cron-sh/security.sh

#End of crontab

Now /var/log/cron shows /usr/bin/netscapetab running every minute. But my
browser window does not open News.com.

Any ideas.


Reply via email to