Gossamer Forum
Home : Products : Gossamer Links : Discussions :

nph-verify syntax

Quote Reply
nph-verify syntax
Okay, I give up...

Just what is the proper syntax for nph-verify parameters, or, even better, where can I find it? Crazy

The Verify Links page suggests running nph-verify via cron to check links every 7 days, but the page doesn't give the parameter necessary, nor can I find it in documentation. Unsure

I've seen it here two different ways, but neither of them appear to work for me, meaning I can't discern the correct syntax to use in troubleshooting the problem, either.

Any pointers?

Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com
Quote Reply
Re: [afrayer] nph-verify syntax In reply to
So no one uses cron to run nph_verify to check links that haven't been checked in 7 days?

Or is it that no one knows where one can find the necessary parameters?

Unsure

Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com
Quote Reply
Re: [afrayer] nph-verify syntax In reply to
Hi afrayer,

For cron job you can use something like this:

Code:
0 2 * * 7 /full/path/to/nph-verify.cgi --check-all

This will re-check all links on every Monday at 2:00 AM

To see full list of options you must run nph-verify.com from command prompt /telnet or ssh/ without parameters and it will list all available options.


Here is what mine is says :)

Code:
This script checks the Gossamer Links database for link integrity.

The following parameters may be used from the command line:

For checking links: (one of)
--check-from number_of_days_ago
--check-problem
--check-new
--check-status status_code
--check-all

For fixing links:
--fix-302
I hope this helps.

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins
Quote Reply
Re: [eupos] nph-verify syntax In reply to
Thank you! Smile

As I don't have telnet or ssh access to my site Frown I wasn't able to use the method you offered for the options. Quoting your results back gave me just what I needed!

The help was much appreciated, as my browser was starting to time out while verifying links from the web page.

Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com
Quote Reply
Re: [afrayer] nph-verify syntax In reply to
Glad to be helpful ;)

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins