自动保存90的crontab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

276 line
13 KiB

  1. # nginx monitoring
  2. * * * * * /bin/bash /home/monitor/nginx.sh >/dev/null 2>&1 &
  3. # java office program monitoring
  4. #* * * * * /usr/bin/bash /home/monitor/server.sh >/dev/null 2>&1 &
  5. #* * * * * /usr/bin/bash /home/monitor/gateway.sh >/dev/null 2>&1 &
  6. #* * * * * /usr/bin/bash /home/monitor/rights.sh >/dev/null 2>&1 &
  7. #* * * * * /usr/bin/bash /home/monitor/office.sh >/dev/null 2>&1 &
  8. # data synchronize 已迁移到90
  9. #* * * * * /usr/bin/python /home/script/space_data_synchronize.py >/dev/null 2>&1 &
  10. #* * * * * /usr/bin/python /home/script/student_status_change.py >/dev/null 2>&1 &
  11. #30 0 * * * /usr/bin/python /home/script/questionnaire_daily_health.py >/dev/null 2>&1 &
  12. #10 0 * * * /usr/bin/python /home/script/teacher_maintenance_run_daily.py >/dev/null 2>&1 &
  13. #15 0 * * * /usr/bin/python /home/script/attendance_clock.py >/dev/null 2>&1 &
  14. #* * * * * /usr/bin/python /home/script/student_leave_request_remind.py >/dev/null 2>&1 &
  15. #* * * * * /usr/bin/python /home/script/cloud_space_remind.py >/dev/null 2>&1 &
  16. #* * * * * /usr/bin/python /home/script/teacher_active_record.py >/dev/null 2>&1 &
  17. #* * * * * /usr/bin/python /home/script/teacher_active_record_to_remind.py >/dev/null 2>&1 &
  18. #* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_admin_data.py >/dev/null 2>&1 &
  19. # statistic 已迁移到90
  20. 40 0 * * * /bin/bash /home/script/stat/run_stat.sh >/dev/null 2>&1 &
  21. #message 已迁移到90
  22. 30 8 * * * /bin/bash /home/script/notice/run_message.sh >/dev/null 2>&1 &
  23. 30 10 * * * /bin/bash /home/script/notice/run_message_10am.sh >/dev/null 2>&1 &
  24. #nodejs dms
  25. #同步设备的事件和图片
  26. #* * * * * curl http://192.168.12.181:9099/hk/auto/asyncevent >/dev/null 2>&1 &
  27. #* * * * * curl http://192.168.12.181:9099/hk/auto/handlepic >/dev/null 2>&1 &
  28. #同步网阅临时数据库
  29. * * * * * curl http://192.168.12.181:9099/oms/auto/test
  30. * * * * * curl http://192.168.12.181:9099/oms/auto/mqs
  31. * * * * * curl http://192.168.12.181:9099/oms/auto/ms
  32. * * * * * curl http://192.168.12.181:9099/oms/auto/question
  33. * * * * * curl http://192.168.12.181:9099/oms/auto/ts
  34. * * * * * curl http://192.168.12.181:9099/oms/auto/tu
  35. * * * * * curl http://192.168.12.181:9099/oms/auto/uq
  36. #java
  37. #同步设备的入校和离校事件
  38. #* * * * * curl http://192.168.12.181:9009/parent/task/studentFaceTask >/dev/null 2>&1 &
  39. #网阅成绩数据同步
  40. * * * * * curl http://192.168.12.181:9009/parent/task/studentExamTask >/dev/null 2>&1 &
  41. * * * * * curl http://192.168.12.181:9009/parent/task/studentExamDetailTask >/dev/null 2>&1 &
  42. * * * * * curl http://192.168.12.181:9009/parent/task/studentExamQuestionTask >/dev/null 2>&1 &
  43. #更新随堂检测状态
  44. * * * * * curl http://192.168.12.181:9009/parent/task/updateClassPracticeStatusTask >/dev/null 2>&1 &
  45. #更新学生评价任务状态
  46. * * * * * curl http://192.168.12.181:9009/rights/task/updateStudentEvalTaskStatus >/dev/null 2>&1 &
  47. #同步学生体制健康
  48. * * * * * curl http://192.168.12.181:9009/edu/studentHealthy/updateStudentHealthys >/dev/null 2>&1 &
  49. #45 0 * * * curl http://192.168.12.181:9009/questionnaire/task/questionRepeatTask >/ dev/null 2>&1 &
  50. #自动处理家长通知 每隔一小时推送消息给未阅读的家长
  51. * * * * * curl http://192.168.12.181:9009/parent/collaboration/autoRemindUnreadParent >/dev/null 2>&1 &
  52. #数据订阅
  53. * * * * * curl http://192.168.12.181:9009/stat/data_remind_subscription/data_remind_subscription_schedule
  54. #值班人员推送消息
  55. * * * * * curl http://192.168.12.181:9009/edu/duty/schedule
  56. #学生每日考勤自动任务
  57. * * * * * curl http://192.168.12.181:9009/edu/task/studentDayAttendanceTask >/dev/null 2>&1 &
  58. #每隔一个小时同步关注公众号情况
  59. 11 * * * * curl 192.168.12.181:9009/login/task/asyncWechatFocus?mp_id=4
  60. #每天零点更新打卡有审批的相关打卡状态
  61. 0 0 * * * curl http://192.168.12.181:9009/edu/task/updateAttendanceStatus >/dev/null 2>&1 &
  62. #协同自动提醒
  63. 0 */1 * * * curl http://192.168.12.181:9009/edu/task/officialDocumentRemind >/dev/null 2>&1 &
  64. #每4分钟访问文件系统访问转化
  65. */4 * * * * curl http://192.168.12.181:9009/edu/fileRequestClient/requestFile >/dev/null 2>&1 &
  66. #教职工维护信息快照
  67. 25 3 * * * curl http://192.168.12.181:9009/rights/task/teacherCopyTask >/dev/null 2>&1 &
  68. #主从数据库同步监控
  69. * * * * * /usr/bin/python /home/script/monitor_mysql/monitor_mysql.py >/dev/null 2>&1 &
  70. #监控服务运行情况,有异常发短信
  71. #* * * * * /bin/bash /data/script/domainWatch.sh >/dev/null 2>&1 &
  72. #* * * * * sleep 30; /bin/bash /data/script/resume.sh >/dev/null 2>&1 &
  73. #监控,低级别,发钉钉通知
  74. #* * * * * /bin/bash /data/script/dingtalk/domainWatch.sh >/dev/null 2>&1 &
  75. #* * * * * sleep 30; /bin/bash /data/script/dingtalk/resume.sh >/dev/null 2>&1 &
  76. #*/5 * * * * sleep 50; /bin/bash /data/script/dingtalk/stillFail.sh >/dev/null 2>&1 &
  77. #同步缓存浏览次数到数据库
  78. * * * * * curl http://192.168.12.181:9009/yunkongjian/scheduled/update_moments_browse_num >/dev/null 2>&1 &
  79. * * * * * curl http://192.168.12.181:9009/stat/data_remind_subscription/update_read_status_schedule >/dev/null 2>&1 &
  80. #考核系统
  81. * * * * * curl http://192.168.12.181:9009/kms/schedule/updateCheckInfoStatus >/dev/null 2>&1 &
  82. #同步默认角色
  83. 0 4 * * * curl https://oa.qbjjyyun.net/api/edu/schedule/synchronizationUnitDetaultRoleInfo >/dev/null 2>&1 &
  84. #* * * * * /bin/bash /data/script/domainWatch.sh >/dev/null 2>&1 &
  85. #* * * * * sleep 30; /bin/bash /data/script/resume.sh >/dev/null 2>&1 &
  86. #OA办公自动预警 每天18:00执行
  87. 0 18 * * * curl http://192.168.12.181:9009/stat/task/OfficeWarnTask >/dev/null 2>&1 &
  88. #作业用时自动预警 每周六执行
  89. 0 14 * * 6 curl http://192.168.12.181:9009/stat/task/HomeWorkWarnTask >/dev/null 2>&1 &
  90. #公司服务器日统计 放在公司环境下的
  91. #5 0 * * * /usr/local/python3/bin/python3.6 /home/script/stat/machine_monitor_utils.py >/dev/null 2>&1 &
  92. #监控脚本CMD任务 90下面
  93. #* * * * * /bin/bash /home/cronCmd/cronCmdTask.sh >/dev/null 2>&1 &
  94. #监控云空间提醒表t_cloud_space_remind是否有超过目标条数未转换到推送
  95. */10 * * * * curl http://192.168.12.181:9009/yunkongjian/scheduled/monitorCloudSpaceRemind >/dev/null 2>&1 &
  96. #监控推送表t_remind_info是否有超过1000条推送数据未推送出去
  97. */30 * * * * curl http://192.168.12.181:9009/parent/task/monitorRemindTask >/dev/null 2>&1 &
  98. #录播数据同步 90
  99. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_classroom.py >/dev/null 2>&1 &
  100. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_resource_file.py >/dev/null 2>&1 &
  101. #每小时检查一次发布情况 95
  102. #10 * * * * /bin/bash /home/public/checkPublic.sh >/dev/null 2>&1 &
  103. #定时任务 更新报名状态 95
  104. * * * * * curl http://192.168.12.181:9009/parent/task/updateServiceCourseEnrollStatusTask>/dev/null 2>&1 &
  105. #检测更新授课状态 95
  106. * * * * * curl http://192.168.12.181:9009/parent/task/updateTeacherPrepareLessonRecordStatus>/dev/null 2>&1 &
  107. #同步录播记录 95
  108. * * * * * curl http://192.168.12.181:9009/parent/task/syncLiveRecord>/dev/null 2>&1 &
  109. #同步教室记录 95
  110. * * * * * curl http://192.168.12.181:9009/parent/task/syncClassRoom>/dev/null 2>&1 &
  111. #定时检查设备状态 95
  112. #*/1 * * * * curl http://192.168.12.181:9026/task/checkHardwareSurvivalState
  113. #定时重新登陆设备 95
  114. #*/10 * * * * curl http://192.168.12.181:9026/task/relogin
  115. #以下看到有一个写一个注释
  116. #学生请假--销假自动任务
  117. * * * * * /bin/bash /home/script/studentLeaveVacationTask.sh >/dev/null 2>&1 &
  118. #新高考-更新选课管理-选课状态自动任务
  119. * * * * * curl http://192.168.12.181:9027/task/updateSelectCourseStatus >/dev/null 2>&1 &
  120. #学生评价--自动生成评价记录
  121. * * * * * curl http://192.168.12.181:9006/task/autoGenerateStudentEvalRecord >/dev/null 2>&1 &
  122. #学籍异动--更新异动状态自动任务
  123. * * * * * curl http://192.168.12.181:9004/task/studentStatusChangeByTypeTask
  124. * * * * * curl http://192.168.12.181:9099/xiaomi/index/gettoken
  125. #教师评优--定时更新状态
  126. * * * * * curl http://192.168.12.181:9004/task/updateTeacherAppraiseStatus
  127. #人脸下发定时任务,每分钟执行一次
  128. * * * * * curl http://192.168.12.181:9006/task/faceIssue >/dev/null 2>&1 &
  129. #有学生晚归推送宿管人员
  130. * * * * * curl http://192.168.12.181:9024/task/remindDormitoryUsers >/dev/null 2>&1 &
  131. #安防管理平台-同步预约信息
  132. * * * * * curl http://192.168.12.181:9004/task/securityPlatformSyncReserveRecord >/dev/null 2>&1 &
  133. #定时更新网络教研进行中状态
  134. * * * * * curl http://192.168.12.181:9009/edu/task/updateNetworkTeachingResearchProcessStatus >/dev/null 2>&1 &
  135. #更新学生默认请假流程id
  136. * * * * * curl http://192.168.12.181:9006/task/updateStudentApproveFlowConfigId >/dev/null 2>&1 &
  137. #同步宿舍考勤学生晚归数据
  138. * * * * * curl http://192.168.12.181:9024/task/syncDormitoryData >/dev/null 2>&1 &
  139. #检测更新在线课堂状态
  140. */10 * * * * curl http://192.168.12.181:9009/edu/task/updateOnlineCourseStatus >/dev/null 2>&1 &
  141. #门禁管理--同步更新人脸信息
  142. */5 * * * * curl http://192.168.12.182:9009/parent/task/syncFaceTask>/dev/null 2>&1 &
  143. #检测异常健康码并推送
  144. * * * * * curl http://192.168.12.181:9006/task/remindHealthCodeTask >/dev/null 2>&1 &
  145. #访客系统-同步病人出院状态Task
  146. * * * * * curl http://192.168.12.181:9006/task/syncSickStatus >/dev/null 2>&1 &
  147. #同步教师/学生健康码信息
  148. * * * * * curl http://192.168.12.181:9006/task/syncHealthCodeInfoTask >/dev/null 2>&1 &
  149. #门禁管理-下发失败的人脸重新下发
  150. * * * * * curl http://192.168.12.182:9009/parent/task/syncAgainLssueFaceTask>/dev/null 2>&1 &
  151. #同步教师/学生核酸检测身份证编码
  152. * * * * * curl http://192.168.12.181:9006/task/syncHealthCodeForZjhmTask
  153. #教师评价更新状态
  154. * * * * * curl http://192.168.12.181:9006/task/updateTeacherEvalStatusTask
  155. * * * * * curl http://192.168.12.181:9099/hk/index/updateaeskey
  156. #访客预约审核超过时间未审核自动失效
  157. * * * * * curl http://192.168.12.181:9024/task/visitorAutoInvalidTask
  158. #安防管理平台-更新sessionID
  159. */10 * * * * curl http://192.168.12.181:9004/task/updateHkSessionId
  160. * * * * * curl http://192.168.12.182:9099/prepare/index/handle_file_auto?type=1
  161. * * * * * curl http://192.168.12.181:9099/oms/auto/ms
  162. #到期离任更新状态自动推送
  163. * * * * * curl http://192.168.12.181:9006/task/updateExpireLeaveTask
  164. #海康门禁 布防(SDK)
  165. */30 * * * * curl http://192.168.12.181:9024/task/deployDefence >/dev/null 2>&1 &
  166. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/teacher_active_record.py >/dev/null 2>&1 &
  167. #代理班主任到期离任自动任务
  168. * * * * * curl http://192.168.12.181:9006/task/proxyClassTeacherExpireLeave
  169. * * * * * curl https://oa.qbjjyyun.net/api/edu/schedule/officialDocumentRemindMonitor >/dev/null 2>&1 &
  170. */10 * * * * /bin/bash /home/script/questionRepeatTask.sh >/dev/null 2>&1 &
  171. #实训室--同步更新出闸次数(即到次数则设置过期)
  172. * * * * * curl http://192.168.12.181:9024/task/trainingRoomFaceTask
  173. #海康门禁 布防(SDK) 处理上传失败的图片
  174. * * * * * curl http://192.168.12.181:9024/task/processUploadedFailedFacePictures
  175. * * * * * curl http://192.168.12.181:9099/prepare/index/handle_resource_auto?order=desc
  176. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/cloud_space_remind.py >/dev/null 2>&1 &
  177. * * * * * curl http://192.168.12.182:9099/hk/auto/synccheck
  178. * * * * * curl http://192.168.12.182:9099/prepare/index/handle_file_auto?type=2
  179. * * * * * /bin/bash /home/monitor/frp.sh >/dev/null 2>&1 &
  180. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_admin_data.py >/dev/null 2>&1 &
  181. #作业定时推送
  182. * * * * * curl https://oa.qbjjyyun.net/api/parent/task/homeWorkRemindTask >/dev/null 2>&1 &
  183. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/teacher_active_record_to_remind.py >/dev/null 2>&1 &
  184. * * * * * /bin/bash /home/cronCmd/cronCmdTask.sh >/dev/null 2>&1 &
  185. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/space_data_synchronize.py >/dev/null 2>&1 &
  186. * * * * * curl http://192.168.12.182:9099/prepare/index/handle_resource_auto
  187. #学生进校离校自动任务
  188. * * * * * curl http://192.168.12.181:9009/parent/task/studentInOutSchoolTask >/dev/null 2>&1 &
  189. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/student_leave_request_remind.py >/dev/null 2>&1 &
  190. * * * * * /bin/bash /home/monitor/dms_second.sh
  191. #雏凤争星--自动结算获奖学生(投票时间结束第二天就结算)
  192. 30 1 * * * curl http://192.168.12.181:9024/task/autoSetAwardStudentTask
  193. #定时更新测试单位for_test的值
  194. 0 22 * * * curl https://oa.qbjjyyun.net/api/edu/task/updateForTest >/dev/null 2>&1 &
  195. #定时更新网络教研结束状态
  196. 0 3 * * * curl http://192.168.12.181:9009/edu/task/updateNetworkTeachingResearchEndStatus >/dev/null 2>&1 &
  197. #监控AI智能告警设备并处理相关逻辑
  198. #* * * * * curl http://192.168.12.181:9009/edu/task/monitorAIAlarmTask >/dev/null 2>&1 &
  199. #教师评价自动推送(每天8点执行)
  200. 0 8 * * * curl http://192.168.12.181:9006/task/teacherEvalRemindTask
  201. #每天凌晨1:30更新健康码/核酸的状态为更新中
  202. 30 0 * * * curl http://192.168.12.181:9006/task/updateCodeOrNucleinStatus
  203. #每周6凌晨1:30更新疫苗的状态为更新中
  204. 30 0 * * 6 curl http://192.168.12.181:9006/task/updateVaccinationStatus