I use sphinx for search. Every day I get new data that is added to the database.
I need to add this data to the sphinx search index so that it can be searched. To do this, I need to re-index the sphinx search index at regular intervals.
How can I install cron in linux for this?
crontab is defined as follows:
MIN HOUR DOM MON DOW CMD
therefore, if you want to run the task daily, try:
0 0 * * * /path/to/your/script
which will run your script every day at 0:00
Source: https://habr.com/ru/post/917602/More articles:Create a 3D cube with a wire frame - wpfJava6, Guava, generics, type inference - javaHow can I access VCLStyle for TLinkLabel - delphiThe facebook open graph function only appears in "recent activity" and not as a separate entry - facebookHow to get file extension of a file as a result of SQL query? - sqlWhy is javascript not working on deployment in heroku? - ruby-on-railsDatabase backup tools not available in Power Tools? - tfsAsset consoles when upgrading to Rails 3.1 on Heroku - ruby-on-railsData Analysis DataContractJsonSerializer iso 8601 date - c #Cannot install Web Developer Tools on Visual Studio 2012 RC - visual-studio-2012All Articles