This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

how can I run .conf file using cron job on zpanel
#1
how can I run .conf file using cron job on zpanel
Hi
I have latest version of zpanel(10.1.1) running on my ubuntu 12.04 server.I have sphinxsearch installed which got configuration file (.conf) that needs to be run automatically on a certain period to update index for database.But unfortunately,zpanel cron manager only support php script.

I tried to include 'sphinx.conf' file on a php file and run it using cron manager.But it didn't work.

So,how can I run 'sphinx.conf' from cron manager on zpanel.

Thanks for your time. Shy
Reply
Thanks given by:
#2
RE: how can I run .conf file using cron job on zpanel
make a copy of sphinx.conf and rename it to sphinx.php?
So, you should have both sphinx.conf and sphinx.php on your site.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: how can I run .conf file using cron job on zpanel
Misleading information you are providing here!!!!!

I see the conf file must be run by the binary sphinx search !!!!!!!!!!!!!


http://stackoverflow.com/questions/38186...with-mysql

Cron will never support that. You need to set a manual cron under ubuntu.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
How to set up File Manger for Sentora? donaldaugust 1 3 ,301 01-11-2022, 05:01 AM
Last Post: Nigel
Import zpanel settings problem pgh2011 0 2 ,303 12-30-2020, 07:08 PM
Last Post: pgh2011
Site Not Updating changes made in The HTML file me7leelee 4 8 ,204 05-20-2020, 06:29 PM
Last Post: 5050

Forum Jump:


Users browsing this thread: 1 Guest(s)