Answer the question
In order to leave comments, you need to log in
No effect from running cron task, sphinx indexing?
in crontab:
0 */4 * * * root /usr/local/sphinx/bin/indexer --rotate --all --config /usr/local/sphinx/etc/sphinx.conf
Sep 2 08:00:01 user CROND[19093]: (root) CMD (root /usr/local/sphinx/bin/indexer --rotate --all --config /usr/local/sphinx/etc/sphinx.conf)
/usr/local/sphinx/bin/indexer --rotate --all --config /usr/local/sphinx/etc/sphinx.conf, то все работает.
Answer the question
In order to leave comments, you need to log in
Errors that occur during the execution of cron tasks are not written to the cron log, but to the mail of the system administrator - by default. Look in the /var/mail folder if mail is not configured.
you need to make sure that the user for whom the schedule is created in cron has the necessary rights, including execution, for the script called from the schedule
View the result of the execution in the mail
Or redirect the output of the command to a file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question