How to confirm that automated gear Idling and oo-last-access are working correctly?

Solution Verified - Updated -

Issue

# update access stats hourly:
0 * * * * /usr/sbin/oo-last-access > /var/lib/openshift/last_access.log 2>&1
# specify that apps idle after 5 days without access or update:
30 7,19 * * * /usr/sbin/oo-autoidler 5
  • However, even though I've accessed the gear I see no output coming from /usr/sbin/oo-last-access. I'm not sure it's working. Can you please help me confirm?

Environment

  • OpenShift Enterprise 2.x

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.