What's wrong with cron?
Derek Broughton
derek at pointerstop.ca
Wed Mar 4 14:40:30 UTC 2009
Lorenzo Luengo wrote:
> Hi List,
>
> I recently configured the root alias to forward email to me, and i found
> that cron is throwing errors to my mailbox.
>
> The subject is
> Cron <root at host> root cd / && run-parts --report /etc/cron.hourly
>
> And the body is
>
> /bin/sh: root: not found
>
>
> It's the default system crontab, but it looks like it's skipping the
> username field and interpreting it as a command.
>
> Thanks for any help you could provide me.
It would probably have helped if you'd pasted at least that line from the
crontab. (I trust you do mean /etc/crontab, not _root's_ crontab - which
wouldn't have a username field).
--
derek
More information about the ubuntu-users
mailing list