bemisgrm
21st March 2006, 15:12
I have defined a job BATCH0 in job_data.
When i run rc.startjob with BATCH0 as parameter the job get's started. When i look at the database connection, the user bsp is used.
When i uncomment in the script the line with the variable USER. and change it as below.
USER=bsp ;export USER
The script produces the error
"Connecting with bshell...
Connection established.
ba6.2: Not authorized to run as user 'bsp'
Error [main ]: Can't connect to bshell
"
I can specify any user there. It does not work
The goal is to have 2 cron jobdeamons that each have their own locale (One with ISO-8859-1, the other with GB2312
How can i achieve this?
When i run rc.startjob with BATCH0 as parameter the job get's started. When i look at the database connection, the user bsp is used.
When i uncomment in the script the line with the variable USER. and change it as below.
USER=bsp ;export USER
The script produces the error
"Connecting with bshell...
Connection established.
ba6.2: Not authorized to run as user 'bsp'
Error [main ]: Can't connect to bshell
"
I can specify any user there. It does not work
The goal is to have 2 cron jobdeamons that each have their own locale (One with ISO-8859-1, the other with GB2312
How can i achieve this?