Gossamer Forum
Home : Products : Gossamer Links : Discussions :

import question

Quote Reply
import question
Hi, I did a dmoz import and it got killed halfway through. Do I just do another import on top of it? Or how can I easily delete the links without using the Initial Setup since I did lots of modifications already. By the way, I didn't do the repair tables or rebuild yet.

Thanks!

Quote Reply
Re: [shimmy1] import question In reply to
In not sure about the first part of your question, but if I were you I would set up a cron job to run the process just once. It should complete faster, and if you do get cut off from the net it will not matter. What import string are you using? I think there is one that will verify if a link is already there, and if it is, will miss that one.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [A.J.] import question In reply to
I used this:

perl nph-import.cgi --import RDF --source="/home/mysite/dmoz/content.rdf"
--destination="/home/mysite/public_html/cgi-bin/admin/defs" --create-columns
--create-missing-categories --rdf-category="Top"
--rdf-user="admin" --rdf-add-date="2002-04-02" --with-gzip=/bin/gzip

How do I do a cron job? I know almost nothing when it comes to telnet commands
Quote Reply
Re: [shimmy1] import question In reply to
You don't really need to do a cronjob.

You should be able to add & to the end of the command so it keeps running even if your telnet session ends.

Do you not have a data backup?

Last edited by:

Paul: Apr 2, 2002, 9:31 AM
Quote Reply
Re: [Paul] import question In reply to
In Reply To:
You don't really need to do a cronjob.

You should be able to add & to the end of the command so it keeps running even if your telnet session ends.

Do you not have a data backup?


I add "&" to the end of the whole command?

Also, you asked if I had a data backup, the answer to that is, no, because I was doing a new install.

Thanks
Quote Reply
Re: [shimmy1] import question In reply to
I'd empty your tables and restart the import.

You can try a cronjob if you want but there is no guarantee it won't get killed again.

Did it actually get killed or did your ISP boot you or something?
Quote Reply
Re: [Paul] import question In reply to
In Reply To:
I'd empty your tables and restart the import.

You can try a cronjob if you want but there is no guarantee it won't get killed again.

Did it actually get killed or did your ISP boot you or something?


I'm not sure if I got booted, would it give me a message saying so?

Okay, I was trying to figure out the easiest way to empty the table with clicking that "initial install" button (cause I don't wasnt to lose my configurations) Is there a way to do this in the admin panel?