• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Learn Network Automation

  • Network Automation
    • Ansible
    • Python
    • Terraform
    • pyATS
    • Git
  • ISE
  • Cisco
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • Blog
    • CCIE Blog
  • COURSES
  • Menu Item

Understanding Cisco EEM Event Timer Cron

When configuring  a timer event there are various options you can use to time events.

  • absolute – this executes the event at an exact time and date
  • countdown – counts down to 0
  • watchdog – counts down to 0 and then resets
  • cron – uses the cron timer (more explained below)

Cron Timer

There are 5 values you can specify for the cron timer

  • minute – this controls what minute of the hour the command will fire values between 0 and 59
  • hour – this controls what hour the command will run – specified in the 24 hour clock format 0-23 0=midnight
  • dom – day of month that you want the command to run e.g 20th = 20
  • dow – day of week it can be numeric 0-7 or name of day e.g sat

Examples:

01 * * * * This command is run at one min past every hour
17 8 * * * This command is run daily at 8:17 am
*/1 **** this command runs every minute

Category: EEMTag: CCIE, ccie blog, cron, eem, timer
Previous Post: « GNS3 Workbench is Awesome!
Next Post: Homemade Bluetooth Console Cable wireless console cable »

Reader Interactions

Comments

  1. PIE

    April 5, 2019 at 4:52 pm

    Great , thanks

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Social

Follow along on social media

Contact

Get in touch with me here

[email protected]

Navigation

Home

Blog

About

Contact

YouTube

Don’t forget to take a look at my YouTube Channel

youtube button

Copyright © 2021 · Roger Perkin · All Rights Reserved · Powered by Mai Theme