自动保存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.

283 line
14 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 >/dev/null 2>&1 &
  54. #值班人员推送消息
  55. * * * * * curl http://192.168.12.181:9009/edu/duty/schedule >/dev/null 2>&1 &
  56. #学生每日考勤自动任务
  57. * * * * * curl http://192.168.12.181:9009/edu/task/studentDayAttendanceTask >/dev/null 2>&1 &
  58. #每隔一个小时同步关注公众号情况
  59. 0 5 * * * 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. #同步推送配置
  102. 0 5 * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_remind_config.py >/dev/null 2>&1 &
  103. #每小时检查一次发布情况 95
  104. #10 * * * * /bin/bash /home/public/checkPublic.sh >/dev/null 2>&1 &
  105. #定时任务 更新报名状态 95
  106. * * * * * curl http://192.168.12.181:9009/parent/task/updateServiceCourseEnrollStatusTask>/dev/null 2>&1 &
  107. #检测更新授课状态 95
  108. * * * * * curl http://192.168.12.181:9009/parent/task/updateTeacherPrepareLessonRecordStatus>/dev/null 2>&1 &
  109. #同步录播记录 95
  110. * * * * * curl http://192.168.12.181:9009/parent/task/syncLiveRecord>/dev/null 2>&1 &
  111. #同步教室记录 95
  112. * * * * * curl http://192.168.12.181:9009/parent/task/syncClassRoom>/dev/null 2>&1 &
  113. #定时检查设备状态 95
  114. #*/1 * * * * curl http://192.168.12.181:9026/task/checkHardwareSurvivalState >/dev/null 2>&1 &
  115. #定时重新登陆设备 95
  116. #*/10 * * * * curl http://192.168.12.181:9026/task/relogin >/dev/null 2>&1 &
  117. #以下看到有一个写一个注释
  118. #学生请假--销假自动任务
  119. * * * * * /bin/bash /home/script/studentLeaveVacationTask.sh >/dev/null 2>&1 &
  120. #新高考-更新选课管理-选课状态自动任务
  121. * * * * * curl http://192.168.12.181:9027/task/updateSelectCourseStatus >/dev/null 2>&1 &
  122. #学生评价--自动生成评价记录
  123. * * * * * curl http://192.168.12.181:9006/task/autoGenerateStudentEvalRecord >/dev/null 2>&1 &
  124. #学籍异动--更新异动状态自动任务
  125. * * * * * curl http://192.168.12.181:9004/task/studentStatusChangeByTypeTask >/dev/null 2>&1 &
  126. * * * * * curl http://192.168.12.181:9099/xiaomi/index/gettoken >/dev/null 2>&1 &
  127. #教师评优--定时更新状态
  128. * * * * * curl http://192.168.12.181:9004/task/updateTeacherAppraiseStatus >/dev/null 2>&1 &
  129. #人脸下发定时任务,每分钟执行一次
  130. * * * * * curl http://192.168.12.181:9006/task/faceIssue >/dev/null 2>&1 &
  131. #有学生晚归推送宿管人员
  132. * * * * * curl http://192.168.12.181:9024/task/remindDormitoryUsers >/dev/null 2>&1 &
  133. #安防管理平台-同步预约信息
  134. * * * * * curl http://192.168.12.181:9004/task/securityPlatformSyncReserveRecord >/dev/null 2>&1 &
  135. #定时更新网络教研进行中状态
  136. * * * * * curl http://192.168.12.181:9009/edu/task/updateNetworkTeachingResearchProcessStatus >/dev/null 2>&1 &
  137. #更新学生默认请假流程id
  138. * * * * * curl http://192.168.12.181:9006/task/updateStudentApproveFlowConfigId >/dev/null 2>&1 &
  139. #同步宿舍考勤学生晚归数据
  140. * * * * * curl http://192.168.12.181:9024/task/syncDormitoryData >/dev/null 2>&1 &
  141. #检测更新在线课堂状态
  142. */10 * * * * curl http://192.168.12.181:9009/edu/task/updateOnlineCourseStatus >/dev/null 2>&1 &
  143. #门禁管理--同步更新人脸信息
  144. */5 * * * * curl http://192.168.12.182:9009/parent/task/syncFaceTask>/dev/null 2>&1 &
  145. #检测异常健康码并推送
  146. * * * * * curl http://192.168.12.181:9006/task/remindHealthCodeTask >/dev/null 2>&1 &
  147. #访客系统-同步病人出院状态Task
  148. * * * * * curl http://192.168.12.181:9006/task/syncSickStatus >/dev/null 2>&1 &
  149. #同步教师/学生健康码信息
  150. * * * * * curl http://192.168.12.181:9006/task/syncHealthCodeInfoTask >/dev/null 2>&1 &
  151. #门禁管理-下发失败的人脸重新下发
  152. * * * * * curl http://192.168.12.182:9009/parent/task/syncAgainLssueFaceTask>/dev/null 2>&1 &
  153. #同步教师/学生核酸检测身份证编码
  154. * * * * * curl http://192.168.12.181:9006/task/syncHealthCodeForZjhmTask >/dev/null 2>&1 &
  155. #教师评价更新状态
  156. * * * * * curl http://192.168.12.181:9006/task/updateTeacherEvalStatusTask >/dev/null 2>&1 &
  157. * * * * * curl http://192.168.12.181:9099/hk/index/updateaeskey
  158. #访客预约审核超过时间未审核自动失效
  159. * * * * * curl http://192.168.12.181:9024/task/visitorAutoInvalidTask >/dev/null 2>&1 &
  160. #安防管理平台-更新sessionID
  161. */10 * * * * curl http://192.168.12.181:9004/task/updateHkSessionId >/dev/null 2>&1 &
  162. * * * * * curl http://192.168.12.182:9099/prepare/index/handle_file_auto?type=1
  163. * * * * * curl http://192.168.12.181:9099/oms/auto/ms
  164. #到期离任更新状态自动推送
  165. * * * * * curl http://192.168.12.181:9006/task/updateExpireLeaveTask >/dev/null 2>&1 &
  166. #海康门禁 布防(SDK)
  167. */30 * * * * curl http://192.168.12.181:9024/task/deployDefence >/dev/null 2>&1 &
  168. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/teacher_active_record.py >/dev/null 2>&1 &
  169. #代理班主任到期离任自动任务
  170. * * * * * curl http://192.168.12.181:9006/task/proxyClassTeacherExpireLeave >/dev/null 2>&1 &
  171. * * * * * curl https://oa.qbjjyyun.net/api/edu/schedule/officialDocumentRemindMonitor >/dev/null 2>&1 &
  172. #问卷定期填写/学生打卡自动任务
  173. */10 * * * * /bin/bash /home/script/questionRepeatTask.sh >/dev/null 2>&1 &
  174. #实训室--同步更新出闸次数(即到次数则设置过期)
  175. * * * * * curl http://192.168.12.181:9024/task/trainingRoomFaceTask >/dev/null 2>&1 &
  176. #海康门禁 布防(SDK) 处理上传失败的图片
  177. * * * * * curl http://192.168.12.181:9024/task/processUploadedFailedFacePictures >/dev/null 2>&1 &
  178. * * * * * curl http://192.168.12.181:9099/prepare/index/handle_resource_auto?order=desc
  179. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/cloud_space_remind.py >/dev/null 2>&1 &
  180. */20 * * * * curl http://192.168.12.182:9099/hk/auto/synccheck
  181. * * * * * curl http://192.168.12.182:9099/prepare/index/handle_file_auto?type=2
  182. * * * * * /bin/bash /home/monitor/frp.sh >/dev/null 2>&1 &
  183. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_admin_data.py >/dev/null 2>&1 &
  184. #作业定时推送
  185. * * * * * curl https://oa.qbjjyyun.net/api/parent/task/homeWorkRemindTask >/dev/null 2>&1 &
  186. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/teacher_active_record_to_remind.py >/dev/null 2>&1 &
  187. * * * * * /bin/bash /home/cronCmd/cronCmdTask.sh >/dev/null 2>&1 &
  188. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/space_data_synchronize.py >/dev/null 2>&1 &
  189. * * * * * curl http://192.168.12.182:9099/prepare/index/handle_resource_auto
  190. #学生进校离校自动任务
  191. * * * * * curl http://192.168.12.181:9009/parent/task/studentInOutSchoolTask >/dev/null 2>&1 &
  192. * * * * * /usr/bin/python3.6 /home/python_git/statistical_script/student_leave_request_remind.py >/dev/null 2>&1 &
  193. * * * * * /bin/bash /home/monitor/dms_second.sh
  194. #雏凤争星--自动结算获奖学生(投票时间结束第二天就结算)
  195. 30 1 * * * curl http://192.168.12.181:9024/task/autoSetAwardStudentTask >/dev/null 2>&1 &
  196. #定时更新测试单位for_test的值
  197. 0 22 * * * curl https://oa.qbjjyyun.net/api/edu/task/updateForTest >/dev/null 2>&1 &
  198. #定时更新网络教研结束状态
  199. 0 3 * * * curl http://192.168.12.181:9009/edu/task/updateNetworkTeachingResearchEndStatus >/dev/null 2>&1 &
  200. #监控AI智能告警设备并处理相关逻辑
  201. #* * * * * curl http://192.168.12.181:9009/edu/task/monitorAIAlarmTask >/dev/null 2>&1 &
  202. #教师评价自动推送(每天8点执行)
  203. 0 8 * * * curl http://192.168.12.181:9006/task/teacherEvalRemindTask >/dev/null 2>&1 &
  204. #每天凌晨1:30更新健康码/核酸的状态为更新中
  205. 30 0 * * * curl http://192.168.12.181:9006/task/updateCodeOrNucleinStatus >/dev/null 2>&1 &
  206. #每周6凌晨1:30更新疫苗的状态为更新中
  207. 30 0 * * 6 curl http://192.168.12.181:9006/task/updateVaccinationStatus >/dev/null 2>&1 &
  208. #定时上传学生人脸信息到腾讯人脸库
  209. 0 2 * * * curl http://192.168.12.181:9009/yunkongjian/task/uploadStudentFaceToTencentFaceDatabase >/dev/null 2>&1 &
  210. #每日8点备份一下crontab
  211. 0 20 * * * /bin/bash /home/crontab_backup/backup.sh >/dev/null 2>&1 &