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 executed | Program | owner | running time | Brief Description |
1 3 * * 1-5 | ${LB_DIR}/Tools/LoadDb/AutoApprove | 1 min. | chlu | auto approve submmited records |
5 3 * * 1-5 | ${LB_DIR}/Tools/LoadDb/GenScript | 2 min. | chlu | generate LEXICON |
10 3 * * 1-5 | ${LB_DIR}/Tools/LoadDb/GenScript | 2 min. | chlu | generate inflVars and inflVarsTemp |
15 3 * * 1-5 | ${LB_DIR}/Tools/LoadDb/DbScript | 2 min. | chlu | backup database tables |
20 3 * * 1-5 | ${LB_DIR}/Tools/WebScript/ReIndexDic | 20 min. | chlu | Reindex gSpell dictionaries |
30 4 * * 1-5 | systemctl restart tomcat | 1 min. | root | restart tomcat server |