AT command Error

Hi

I have used the AT command in my shell script to schedule the jobs. Sometimes it works fine but sometimes it throws an error, such as :

at: can't change the owner of your job to you.

I could not find any solution to this issue yet.
If anyone can please provide any pointer what doe this mean and how it can be resolved?

Thanks in advance
MD

I haven't seen this diagnostic before. What OS are you using?

What output does the command id produce?

Are you remotely logged into this system?

Check the at(1) man page on your system. Is there an at.deny file on your system? If so, is your user-name listed in it?

Is there an at.allow file on your system? If so is your user-name listed in it?

This seems to be Solaris. The error message means, that the at-command cannot successfully call chown on the job file created under /var/spool/cron/atjobs .

Can you please post the output of

type at
ls -l /usr/bin/at
ls -ld /var/spool/cron/atjobs
id
umask

Thanks Don, for guidance.

Please find below the required details:
OS : AIX

id command output is:
server1:user1[115]$ id
uid=168559443(svc) gid=95311237(uni)

Regarding at.deny and at.allow files, none of the file exist in our system.

Please let me know if it gives you any idea about the issue.

---------- Post updated at 09:09 AM ---------- Previous update was at 09:08 AM ----------

Thanks hergp for the response.
I will provide the details in a while.