Any way to set a cron job for reindex

Read 7425 times
We have a track which is changed daily but named the same.

We have a wget in place to download the track to the centovacast directory but assume after its downloaded it needs reindexing.

Is this possible to do via a CRON job? as running the reindex command asks for a password so how would CRON get around this?

EN5.
Hello en5radio

This is an easy one, pipe the password with an echo statement:

echo "password" | /usr/local/centovacast/bin/ccmanage reindex USERNAME

Alternatively, if are running the conjob as root you could use the new passwordless mode:

http://www.centova.com/doc/cast/internals/commandline_tools/management_utility/invocation

HTH
That works for me!

Cheers Roger.

Carl.