Reindex search nightly

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
psurrena
Forum Contributor
Posts: 355
Joined: Thu Nov 10, 2005 12:31 pm
Location: Broolyn, NY

Reindex search nightly

Post by psurrena »

Hello,

Say I have a url, http://www.website.com/search/reindex and when I go to this URL, it reindexes my database to update my search. Is there a way I can have that url accessed nightly automatically? Thank you in advance.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Reindex search nightly

Post by requinix »

Any reason this needs to be done once a day?
User avatar
phdatabase
Forum Commoner
Posts: 83
Joined: Fri May 28, 2010 10:02 am
Location: Fort Myers, FL

Re: Reindex search nightly

Post by phdatabase »

Use cron in *nix and scheduler in windows
User avatar
psurrena
Forum Contributor
Posts: 355
Joined: Thu Nov 10, 2005 12:31 pm
Location: Broolyn, NY

Re: Reindex search nightly

Post by psurrena »

Thanks!
Post Reply