How to make a Cron-job for smart search

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
1437dk
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Sep 02, 2014 1:27 pm

How to make a Cron-job for smart search

Post by 1437dk » Mon Jun 20, 2016 6:42 am

When setting up a Cronjob for smart search the links from search results goes to blank pages. When indexing manually everything works. What am i doing wrong?

Sending the command

Code: Select all

php [URL]/cli/finder_indexer.php
Memorylimit 256 MB

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9739
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: How to make a Cron-job for smart search

Post by AMurray » Mon Jun 20, 2016 9:37 pm

I believe you need to specify your full server file path, something like:

Code: Select all

/username/public_html/cli/finder_indexer.php 
The procedure for setting up the CRON is explained here from what I can tell.
https://docs.joomla.org/Setting_up_auto ... h_indexing

The bit under "Setting up a CRON Job" mentions what I have said above about the file path.


(for specifics about the actual file path for your hosting, contact your hosting support).
Regards - A Murray
General Support Moderator

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9739
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: How to make a Cron-job for smart search

Post by AMurray » Mon Jun 20, 2016 9:44 pm

[Sorry Duplicate Post]
I believe you need to specify your full server file path, something like:

Code: Select all

/username/public_html/cli/finder_indexer.php 
The procedure for setting up the CRON is explained here from what I can tell.
https://docs.joomla.org/Setting_up_auto ... h_indexing

The bit under "Setting up a CRON Job" mentions what I have said above about the file path.
Regards - A Murray
General Support Moderator

1437dk
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Sep 02, 2014 1:27 pm

Re: How to make a Cron-job for smart search

Post by 1437dk » Tue Jun 21, 2016 6:04 am

Hi. Thanks, but I have the complete URL from the host - and when running the command manually it outputs as if it is going well. But the result renders Smart Search useless until manually scanning the archive again.

1437dk
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Sep 02, 2014 1:27 pm

Re: How to make a Cron-job for smart search

Post by 1437dk » Mon Jun 27, 2016 6:54 am

This is still not working. Any suggestions?


Locked

Return to “General Questions/New to Joomla! 3.x”