1838576 Members
4057 Online
110128 Solutions
New Discussion

Re: at command

 
HU Wen
Occasional Contributor

at command

Hello.

When I use the at command, I got " open '/var/spool/cron/atjobs/../_at21785' failed, errno=13
can't create a job for you". However i have already added my user name in the files at.alow and cron.allow. Thank you for your kind help!!
3 REPLIES 3
John Palmer
Honored Contributor

Re: at command

Hi,

Error 13 is a permissions problem. I would check that /usr/bin/at has the correct permissions. It should be -r-sr-xr-x root bin.

That is 'chmod 455 /usr/bin/at' and 'chown root:bin /usr/bin/at'

Regards,
John
federico_3
Honored Contributor

Re: at command

If the permissions are not the rigth ones , type:
chmod 4555 /usr/bin/at

in order to set -r_sr_xr_x

bye
federico
John Palmer
Honored Contributor

Re: at command

Hi,

Thanks Federico, sorry about that typo - I did in fact mean '4555' not '455'

Regards,
John