cancel
Showing results for 
Search instead for 
Did you mean: 

Extreme Management Schheduled Task

Extreme Management Schheduled Task

Byron_Morales
New Contributor II

Is there a way to schedule a reoccurring task to just run certain months of the year.

Such as:

  • script1 runs: Jan, May, Sept
  • script2 runs: Feb, June, Oct
  • script3 runs: March,July, Nov
  • script4 runs: April, Aug, Dec
3 REPLIES 3

StephanH
Valued Contributor III

Hello Byron,

you can’t run the scripts from command line.

The XMC python scripts are interpreted with jython enriched with the emc_vars, emc_cli … and compiled and run in Java.

Regards Stephan

Byron_Morales
New Contributor II

Is there a way to run a script created in extreme management to run against a certain switch from the xmc command line? if I can do that then I can use the crontab to schedule the scripts instead.

 

StephanH
Valued Contributor III

Hello Byron,

you can’t select individual months. But if you use python or TCL you can run one single script and check inside of you script the current month. Depending of the month you can run different functions every function with the content of you script1 - 4.

 

 

Regards Stephan
GTM-P2G8KFN