Cron job for search

Currently disabled

The search stopped working today after some modifications I made and I can't get it working again :( I have disabled it, and removed the cron job for now.

I added a search form to the site at lower left. This required me to hook up the 'cron job' which basically is a command which runs at a set time every hour or so to update some things, like the search database. You don't want the server to be indexing the whole site every time somebody does a search for performance reasons, so this does it hourly and then when you search you see the index from that time. To do it, I had to edit the cron-lynx.sh file in the scripts folder and then edit my crontab (crontab -e) to add:

43 * * * * /path/tdb/scripts/cron-lynx.sh

The cron-lynx.sh file actually runs lynx (a text browser) and hits a certain page on the site (this way it's hitting it from the server itself, the only way it will work) which re-indexes the site.

The scripts clean up temp files and the like as well.

User login

Recent comments

Upcoming events

Pangur Ban

Messe ocus Pangur Bán,
cechtar nathar fria saindan:
bíth a menmasam fri seilgg,
mu memna céin im saincheirdd.