Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto-Execute a Command

Status
Not open for further replies.

luvarne

Programmer
Jun 24, 2013
86
SA
Is there a feature in HiPath 4000 where you could dial a certain code (e.g. *1234) and certain sets of commands (e.g. rest-dssu) are automatically executed?
 
The CRON command allows you to add in timed commands to the system.
As far as I remember it was only added in HiPath V1 ?
To add new ones on Comwin then click on Macro->Retreive System variant
then CHA-FUNCT:REGIN=Y;
After that you can click on Edit->MML Editor

You could also use the assistant to put these in.

Here is a default one from a standard system.

ADD-CRON:1,P,0,4,*,*,*,"EXE-UPDAT:BP,ALL;";
ADD-CRON:2,P,10,4,*,*,*,"EXE-UPDAT:A1,ALL;";
ADD-CRON:4,P,30,4,*,*,0,"COPY-DDRSM:A1,1,E,1,J,N;";
ADD-CRON:5,P,40,4,*,*,0,"STA-DEL::pAS:VEGAS/DATEI;";
ADD-CRON:6,P,50,4,*,*,0,"STA-REGEN:CRONAMO,L31905Q1111A00001,N,,,,,,ALL;";
ADD-CRON:7,P,0,0,*,*,*,"DIS-ZAUSL:BP,Y;";
ADD-CRON:8,P,0,5,*,*,*,"CHA-SBCSU:STNO=100&&199,DPLN=1;";
ADD-CRON:9,P,10,5,*,*,*,"CHA-SCSU:STNO=100&&199,DPLN=1;";
ADD-CRON:10,P,20,5,*,*,*,"RES-DSSU:STNO,123;";
 
In the example above
Every night at 04:00 there is an EXE-UPDAT:BP,ALL; and at 04:10 EXE-UPDAT:A1,ALL;

Every Sunday (Day 0) there is a copy of AREA E to AREA J of the Hard Disk

Every night at Midnight a command to reset the ZAUSL counters is done.

A reset of 'Extension 123' is done at 05:20 each night

Let me know if you need more specific examples

Regards
 
Thanks! I used this command for the EXEC-UPDAT command. I used to do it before weekends.
But how about if I want to dial an access code (*1234) to "RES-BSSU:pEN,1,4,25;" where this PEN corresponds to the DIUN (used for the DID/DOD)?
 
It would not be a standard setup to dial a code to reset an extension.
You could do it with external hardware but that hardware would not be 'off the shelf' stuff.
Why not just reset that extension/pen once a night during the night?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top