cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1702
Views
5
Helpful
7
Replies

kron day of month Schedule

am.steen
Level 1
Level 1

I am using this Kron Schedule

 

kron policy-list steen

cli show run | redirect tftp://ip/sw.cfg

kron occurrence steen at 16:22 Thu recurring

policy steen

And it works fine but

I need to run this occurrence at day of month

For example I need to run it at day 25 each month 

Also I need to save configuration in time stamp not sw.cfg

My Switch model is C9200-24P

Please help 

 

 

1 Accepted Solution

Accepted Solutions

Hi there,

Just remove the Month and leave the day of the month:

kron occurrence "name"  user xxx at 6:30 25 recurring

cheers,

Seb.

 

View solution in original post

7 Replies 7

marce1000
VIP
VIP

 

 - FYI : https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-3s/cns-xe-3s-book/cns-cmd-sched.pdf , look at section Configuration Examples for Command Scheduler (Kron)  too

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

You can try:

 

kron occurrence "name"  user xxx at 6:30 Mai  25 recurring

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-3s/cns-xe-3s-book/cns-cmd-sched.pdf 

Thanks for your quick replay 

I found this document before.

 

 "kron occurrence "name"  user xxx at 6:30 Mai  25 recurring"

This means I need to add 12 occurrence for each month of the year to run backup ??

Is there a command to run it each month automatic ??

Any Other Suggestion ??

Hi there,

Just remove the Month and leave the day of the month:

kron occurrence "name"  user xxx at 6:30 25 recurring

cheers,

Seb.

 

am.steen
Level 1
Level 1

it works, Thanks 

I remember that there is some way to add time stamp and switch host name in kron file name did any one know how to do that ?

 

am.steen
Level 1
Level 1

I found it in case any one need it

archive
path tftp://ip/$h-
write-memory
kron policy-list steen
kron occurrence steen at 2:18 5 recurring
policy-list steen
kron policy-list steen
cli write memory case any one needs