radiomg
Joined: 12 Jul 2014 Posts: 16
|
Posted: Wed Feb 22, 2017 1:21 pm Post subject: Access admin with curl - cron. |
|
|
Hello!
Im trying to get of some rippers by changing the title..
But i doesn't work..
Any idea?
I use this on crontab. Icecast is on the same server.
Code: |
*/2 * * * * curl -u user:password http://MY_URL:PORT/admin/metadata.xsl?song=You+listen+to+the+best+music&mount=/pop80_test&mode=updinfo&charset=UTF-8' >> /dev/null 2>&1 |
Edit: I have fix it!
Use this code and its work perfectly..
Code: |
*/2 * * * * curl --user user:password 'http://MY_URL:PORT/admin/metadata.xsl?song=You+listen+to+the+best+music&mount=/pop80_test&mode=updinfo&charset=UTF-8' >> /dev/null 2>&1 |
|
|