Centova Technologies Forum
Centova Cast v3 => General discussion => Topic started by: Barnet Community Radio on May 02, 2015, 02:37:06 pm
-
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.