cron is not running the jobs of a non-root user

Solution Verified - Updated -

Issue

When a cron job configured for a specific non-root user, it fails to run.

An examination of /var/log/cron shows that the edits are recognized e.g.

Jun 11 16:42:47 localhost crontab[8721]: (root) BEGIN EDIT (testuser)
Jun 11 16:42:49 localhost crontab[8721]: (root) REPLACE (testuser)
Jun 11 16:42:49 localhost crontab[8721]: (root) END EDIT (testuser)

But the jobs within it are not actually run. If they ran, a line like this would appear:

Jun 11 16:42:01 localhost CROND[8628]: (testuser) CMD (date >> /tmp/testuser.date)

Environment

Red Hat Entreprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.