Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Verifying through Crontab

Quote Reply
Verifying through Crontab
I am using Crontab to have my pages built automatically. I also tried to execute nph-verify.cgi through Cron, but I received the following error msg in my logs:
Code:
Parallel::UserAgent can not handle 'https'-requests. Request ignored! at /home/japanreference/www/cgi-bin/admin/nph-verify.cgi line 169
Parallel::UserAgent can not handle 'https'-requests. Request ignored! at /home/japanreference/www/cgi-bin/admin/nph-verify.cgi line 169
What's the problem with https://.. files? How can I solve this?

Thanks in advance.

Quote Reply
Re: Verifying through Crontab In reply to
I think nph-verify is set to only check http:// and ftp://.

--Drew
Quote Reply
Re: Verifying through Crontab In reply to
Thanks for your reply, Drew. In nph-verify.cgi I changed line 139
Code:
if (($data[$db_url] =~ /^http/) or ($data[$db_url] =~ /^ftp/)) {
to read
Code:
if (($data[$db_url] =~ /^http/) or ($data[$db_url] =~ /^ftp/) or ($data[$db_url] =~ /^https/)) {
I don't know if this actually changed anything, but at least the file could be executed that way.

Quote Reply
Re: Verifying through Crontab In reply to
Hi Thomas,

Could you explain how you set up a crontab to automatically run nph-build.cgi at a specific time, I know it can be done just not how!!



Regards

MDJ1
http://www.isee-multimedia.co.uk
Quote Reply
Re: Verifying through Crontab In reply to
I just followed the detailed instructions Bobsie has posted in the Resource Center. Please refer to http://goodstuff.orphanage.com/cron_instr.html.

I am still getting the https://... error message, does anyone know a tweak for that? Furthermore, even with Crontab my verification won't be completed, guess that's related to the CPU time assigned to my account.