cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1434
Views
0
Helpful
4
Replies

Kron Scheduler 3850

Setup kron jobs to backup / redirect configs on specific days:

 

sh run | s kron

kron occurrence friday_backup at 22:30 Fri recurring

policy-list friday_backup

 

kron policy-list friday_backup

cli show running-config | redirect tftp://192.168.XX.XXX/$h-$t_running_friday_config

cli show startup-config | redirect tftp://192.168.XX.XXX/$h-$t_startup_friday_config

 

 

show kron schedule

friday_backup inactive, will run again in 1 day 08:49.16 at 22:30 on Fri

 

 

Any ideas on the inactive status when I have the recurring command?

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Averill,

I think your configuration is correct

 

>> friday_backup inactive, will run again in 1 day 08:49.16 at 22:30 on Fri

 

It is telling you that the task is not running now (=inactive) but it will be executed on Fri at 22:30 that is what you want.

So you should not have any real issue here.

 

Hope to help

Giuseppe

 

I figured it was close to right, and I agree that by it showing inactive it is going to run on specified date / time. My confusion comes in that I don't have any backups to show on my tftp server.

Hello Averill,

if I have correctly understood there are no files uploaded on the TFTP server.

 

Can you check if you can upload a configuration file manually using

copy startup-config tftp:  ?

What kind of operating system is on the server ?

Can it be a question of missing rights to write files in the TFTP working directory ?

 

Hope to help

Giuseppe

 

 

 

It's running windows 10. I can tftp the config over to it manually. The job works for about a week then it dies out. I have a weeks worth of configs and then nothing. 

 

A few caveats, the destination is virtual but there is definitely a path as I can ssh no problem. I can tftp the config also no issues there. 

 

Do you have any other ideas, anything outside the box that I could try?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: