J
jebbie23
Guest
I'm trying to write a java-command-line tool that will run nightly with crontab. So far, it's already running. But now i want to create a subdomain with the command-line tool from /opt/psa/bin/subdomain - and that is just not working.
When i execute the java-tool directly from the shell, it can create the subdomain withtout any problem, but when it's executet through crontab, i get "Unable to connect to database: get_admin_password()"
I must say, i have already modified the permissions of the folder and files under /etc/sw/keys - just to try if i can go ahead.. because before the current error appeared, he said that he couldn't open the repository under "/etc/sw/keys"
Any ideas how to fix? I'm currentyl thinking about to implement the RPC API in my java-tool, because there i could make a clean authentication as far as i know.
When i execute the java-tool directly from the shell, it can create the subdomain withtout any problem, but when it's executet through crontab, i get "Unable to connect to database: get_admin_password()"
I must say, i have already modified the permissions of the folder and files under /etc/sw/keys - just to try if i can go ahead.. because before the current error appeared, he said that he couldn't open the repository under "/etc/sw/keys"
Any ideas how to fix? I'm currentyl thinking about to implement the RPC API in my java-tool, because there i could make a clean authentication as far as i know.