Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Which cgi file can be run as a cron?

Quote Reply
Which cgi file can be run as a cron?
Hello,

As you might be able to tell, Im not very knowledgble at how things work.

I would like to run a cron job (which my host allows me to do) to have Links SQL build the newly added links to the system every couple of hours.

Which cgi file can be run as a cron job? I ask because on some of my older sites that used to calculate interest through a script, the script had to be specially written to run as a cron job.

In Links can i just tell it to run the nph-build.cgi as a cron, and all should be good? Or is there a special script that should be run when running as a cron job?

Thanks,
Quote Reply
Re: [Westin] Which cgi file can be run as a cron? In reply to
nph-build.cgi can be run via cron/SSH just fine :)

perl /full/path/to/admin/nph-build.cgi --all

..or if you only wanna build changed pages:

nph-build.cgi --changed

Cheers

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!