Getting message "anacron: Invalid syntax in /etc/anacrontab on line 5 - skipping this line" in anacron.

Solution Unverified - Updated -

Issue

  • After running anacron -T command, getting following messages:

    anacron: Invalid syntax in /etc/anacrontab on line 5 - skipping this line
    anacron: Invalid syntax in /etc/anacrontab on line 6 - skipping this line
    anacron: Invalid syntax in /etc/anacrontab on line 7 - skipping this line
    

Environment

  • Red Hat Enterprise Linux 6
  • Cronie-anacron-1.4.4-12
  • Cronie-anacron-1.4.4-14

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.