The documention for /etc/cron.d files says that it’s the same as /etc/crontab. And although this is true, most people are not used to adding the user in as the first argument before the script.

So when you use crontab -e:

10 * * * * /opt/myprog

When you put it in /etc/cron.d/myapp.crontab

10 * * * * root /opt/myprog

It’s a little annoying, and a comment in the documention as such would go a long way.


One Comment

  1. sl0n says:

    Thanks for that hint! I spent quite some time figuring out what’s wrong with it ..

Leave a Reply