Using gw in a crontab

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Using gw in a crontab

Post 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


User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Using gw in a crontab

Post 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.


User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Using gw in a crontab

Post 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



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Using gw in a crontab

Post 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.


Post Reply