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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content