Reply To: TCL in Crontab Problem

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf TCL in Crontab Problem Reply To: TCL in Crontab Problem

#57689
Anonymous
Participant

    If your on a unix system I would recommend making your scripts cloverleaf release independent with the below as the 1st three lines of your script.

    #!/usr/bin/sh

    # reload using exec but make it a comment for tcl

    exec hcitcl “$0” “$@”

    The first line may vary depending on your unix version

    #!/usr/bin/sh  is for aix

    the sh exec will use the environment variables to find hcitcl

    and root must be set