public_html is not exposed by the web server, it defines externally visible web space on the internal file system; this is why the URL does not work.

While lynx does provide a much nicer scriptable interface for this kind of thing, it isn't impossible to script with IE:

create a file called 'reset.vbs'

Dim shell
Set shell = CreateObject("WScript.Shell")
shell.Run """C:\Program Files\Internet Explorer\IExplore.exe""http://www.peterlue.com/reset.php?reset=peter";

and schedule it. Kind of off topic, but since you are probably not on a unix system, use task scheduler.

Stefan Caunter
http://caunter.ca/contact.html

On Fri, 26 Jan 2007, Peter Lue wrote:

I don't understand the question. A friend of mine was able to do a manual reset but I don't have lynx installed on my computer so I can't do them. I can't do them from internet explorer. What do you suggest I do? This is my first web site and I have never run a cron job before.


----- Original Message ----- From: "Stef Caunter" <[EMAIL PROTECTED]>
To: "Peter Lue" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, January 26, 2007 5:51 PM
Subject: Re: [Lynx-dev] reset script


cron changes $PATH (usually), best to always use full path to all commands for anything running in cron. Does it run in your shell?

Stefan Caunter
http://caunter.ca/contact.html

On Fri, 26 Jan 2007, Peter Lue wrote:

I am using the attached reset script to run cron jobs but it is not working because my friend says that I have no access to lynx. Why don't the following commands work?







_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to