Why Cron job executes twice at the same time?

Solution Verified - Updated -

Issue

  • cron job executed twice at same time.
  • All system jobs run twice at same time. It consumes more system resources.
Jul 25 09:00:01 host CROND[2174689]: (user) CMD (/home/user/log/example.sh >/dev/null 2>&1)
Jul 25 09:00:02 host CROND[2174797]: (user) CMD (/home/user/log/example.sh >/dev/null 2>&1)
Jul 25 09:02:01 host CROND[2176191]: (user) CMD (/home/user/mail/test.sh >/dev/null 2>&1)
Jul 25 09:02:02 host CROND[2176210]: (user) CMD (/home/user/mail/test.sh >/dev/null 2>&1)

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • cronie

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