Page 1 of 1

Using gw in a crontab

Posted: Fri Apr 24, 1998 2:09 pm
by Thunderstone


I'm a little confused by "gw -rewalk". Can use
just that (with a full pathname to gw) in a
crontab? If so, do I have to run "-index"?

Otherwise, it seems like a great program.

Pete



Using gw in a crontab

Posted: Fri Apr 24, 1998 2:40 pm
by Thunderstone



You can use just -rewalk and -d in a cron job. You don't need -index.
It will do it automatically.

-rewalk will use the last option set you used on the database. So once
you have an option and url set you are happy with, you can use -rewalk
to rebuild the database reusing those options.



Using gw in a crontab

Posted: Fri Apr 24, 1998 3:55 pm
by Thunderstone


On Fri, 24 Apr 1998, Mark Willson wrote:


So it'd be

/usr/local/..../gw -d /usr/local/..../db -rewalk -L -N -z300000

??

Thanks,
Pete




Using gw in a crontab

Posted: Fri Apr 24, 1998 4:49 pm
by Thunderstone



No.
Perform your walk with all desired options once.

../gw -d.../db -L -N -z300000 http://...


../gw -d.../db -rewalk

-rewalk will ignore any extra options.