Originally posted by Robert Milfajt
I have tried the following alert actions with no success: {tcl ThreadAlert.tcl} - gives me an invalid command name {exec ThreadAlert.tcl} Any thoughts? Thanks again everyone!
#!/qvdx/qdx5.5/integrator/bin/hcitcl
proc procname { YOUR TCL CODE HERE}
#!/usr/bin/ksh# this line to escape the next line from the tcl interpreter exec hcitcl "$0" "$@"
#!/usr/bin/kshecho $PATH:$FPATH | awk -F: '{for (i=1;i<=NF;i++) print $i}'
#!/usr/bin/ksh## Begin Module Header ==============================================================================##------# Name:#------## find_path##---------# Purpose:#---------## search all the default paths (echo $PATH) for the specified file##-------# Notes:#-------## Example of normal useage:## find_path parse_hl7# find_path "parse*"# find_path 'parse*'# find_path parse*##---------# History:#---------## 1999.12.14 Russ Ross# - wrote initial version## End of Module Header =============================================================================pathDirList=`parse_path.ksh`echo " "for pathDir in $pathDirList; do ls -l $pathDir/$1 2>/dev/nulldoneecho " "
hcisitectl -k mhcisitectl -s m -A "a=-cl 'default.alrt'"
Originally posted by Gary Atkinson
In my case there is a script that touch $HCISITEDIR/defualt.alrt file once an hour during the day to make sure the alerts are refreshed and persistant but not to persistant.
Touching the default.alrt file casues the alert to be reset so to speak.