LexBuild

Crontab - Auto Tasks

There are certain programs have to run nightly to ensure the LexBuild function propertly. These programs are executed by crontab and shell script. They are described as follows:

Time executedProgramownerrunning timeBrief Description
1 3 * * 1-5${LB_DIR}/Tools/LoadDb/AutoApprove1 min.chluauto approve submmited records
5 3 * * 1-5${LB_DIR}/Tools/LoadDb/GenScript2 min.chlugenerate LEXICON
10 3 * * 1-5${LB_DIR}/Tools/LoadDb/GenScript2 min.chlugenerate inflVars and inflVarsTemp
15 3 * * 1-5${LB_DIR}/Tools/LoadDb/DbScript2 min.chlubackup database tables
20 3 * * 1-5${LB_DIR}/Tools/WebScript/ReIndexDic20 min.chluReindex gSpell dictionaries
30 4 * * 1-5systemctl restart tomcat1 min.rootrestart tomcat server