I have a php script which runs from the command line and uses vlc to get radio station info. It uses a local unix socket to communicate with the calling php file. Everything runs fine if I run it from the command prompt. But if I run it as crontab job then its unable to create the local unix socket and crashes.
Any solutions are welcome.
Thanks in advance.