Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I execute this :

at 7:43 -f atfile.sh

I get this :

warning: commands will be executed using /bin/sh
Cannot open lockfile /var/spool/cron/atjobs/.SEQ: No such file or directory

So what I'm doing wrong? What's wrong with the command?

How do I fix this error?

share|improve this question
I found this salinelinux.proboards.com/thread/248 that solved the problem –  Mazal Sep 12 '13 at 9:32
so the link is dead and you didn't provide explanations ... not funny! –  Stefano Mtangoo Oct 9 '14 at 13:58

1 Answer 1

Try this.

The warning comes up when the user's shell is not /usr/bin/sh. So just change your login shell to /usr/bin/sh.

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

chsh -s /bin/sh $USER
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.