# nginx monitoring
* * * * * /bin/bash /home/monitor/nginx.sh >/dev/null 2>&1 &

# java office program monitoring
#* * * * * /usr/bin/bash /home/monitor/server.sh >/dev/null 2>&1 &
#* * * * * /usr/bin/bash /home/monitor/gateway.sh >/dev/null 2>&1 &
#* * * * * /usr/bin/bash /home/monitor/rights.sh >/dev/null 2>&1 &
#* * * * * /usr/bin/bash /home/monitor/office.sh >/dev/null 2>&1 &

# data synchronize 已迁移到90
#* * * * * /usr/bin/python /home/script/student_status_change.py >/dev/null 2>&1 &
#30 0 * * * /usr/bin/python /home/script/questionnaire_daily_health.py >/dev/null 2>&1 &

* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_admin_data.py >/dev/null 2>&1 &
#教师考勤
15 0 * * * /usr/bin/python3.6 /home/python_git/statistical_script/attendance_clock.py >/dev/null 2>&1 &
#同步云空间数据
* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/space_data_synchronize.py >/dev/null 2>&1 &
#同步学生请假
* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/student_leave_request_remind.py >/dev/null 2>&1 &

10 0 * * * /usr/bin/python3.6 /home/python_git/statistical_script/teacher_maintenance_run_daily.py >/dev/null 2>&1 &

# statistic  已迁移到90
40 0 * * * /bin/bash /home/python_git/statistical_script/statistic/run_stat.sh >/dev/null 2>&1 &

#message 已迁移到90
#30 8 * * * /bin/bash /home/python_git/statistical_script/notice/run_message.sh >/dev/null 2>&1 &
#30 10 * * * /bin/bash /home/python_git/statistical_script/notice/run_message_10am.sh >/dev/null 2>&1 &

#nodejs dms
#同步设备的事件和图片
#* * * * * curl http://192.168.12.181:9099/hk/auto/asyncevent >/dev/null 2>&1 &
#* * * * * curl http://192.168.12.181:9099/hk/auto/handlepic >/dev/null 2>&1 &
#同步网阅临时数据库
* * * * * curl http://192.168.12.181:9099/oms/auto/test >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/oms/auto/mqs >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/oms/auto/ms >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/oms/auto/question >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/oms/auto/ts >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/oms/auto/tu >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/oms/auto/uq >/dev/null 2>&1 &

#java
#同步设备的入校和离校事件
#* * * * * curl http://192.168.12.181:9009/parent/task/studentFaceTask >/dev/null 2>&1 &
#网阅成绩数据同步
* * * * * curl http://192.168.12.181:9009/parent/task/studentExamTask >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9009/parent/task/studentExamDetailTask >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9009/parent/task/studentExamQuestionTask >/dev/null 2>&1 &
#更新随堂检测状态
* * * * * curl http://192.168.12.181:9009/parent/task/updateClassPracticeStatusTask >/dev/null 2>&1 &
#更新学生评价任务状态
* * * * * curl http://192.168.12.181:9009/rights/task/updateStudentEvalTaskStatus >/dev/null 2>&1 &

#同步学生体制健康
* * * * * curl http://192.168.12.181:9009/edu/studentHealthy/updateStudentHealthys >/dev/null 2>&1 &
#45 0 * * * curl http://192.168.12.181:9009/questionnaire/task/questionRepeatTask >/ dev/null 2>&1 &
#自动处理家长通知 每隔一小时推送消息给未阅读的家长
* * * * * curl http://192.168.12.181:9009/parent/collaboration/autoRemindUnreadParent >/dev/null 2>&1 &
#数据订阅
* * * * * curl http://192.168.12.181:9009/stat/data_remind_subscription/data_remind_subscription_schedule >/dev/null 2>&1 &
#值班人员推送消息
* * * * * curl http://192.168.12.181:9009/edu/duty/schedule >/dev/null 2>&1 &
#学生每日考勤自动任务
* * * * * curl http://192.168.12.181:9009/edu/task/studentDayAttendanceTask >/dev/null 2>&1 &
#每隔一个小时同步关注公众号情况
0 5 * * * curl 192.168.12.181:9009/login/task/asyncWechatFocus?mp_id=4 >/dev/null 2>&1 &

#每天零点更新打卡有审批的相关打卡状态
0 0 * * * curl http://192.168.12.181:9009/edu/task/updateAttendanceStatus >/dev/null 2>&1 &
#协同自动提醒
0 */1 * * * curl http://192.168.12.181:9009/edu/task/officialDocumentRemind >/dev/null 2>&1 &
#每4分钟访问文件系统访问转化
*/4 * * * * curl http://192.168.12.181:9009/edu/fileRequestClient/requestFile >/dev/null 2>&1 &
#教职工维护信息快照
25 3 * * * curl http://192.168.12.181:9009/rights/task/teacherCopyTask >/dev/null 2>&1 &


#主从数据库同步监控
* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/monitor_mysql.py >/dev/null 2>&1 &

#监控服务运行情况，有异常发短信
#* * * * * /bin/bash /data/script/domainWatch.sh >/dev/null 2>&1 &
#* * * * * sleep 30; /bin/bash /data/script/resume.sh >/dev/null 2>&1 &

#监控，低级别，发钉钉通知
#* * * * * /bin/bash /data/script/dingtalk/domainWatch.sh >/dev/null 2>&1 &
#* * * * * sleep 30; /bin/bash /data/script/dingtalk/resume.sh >/dev/null 2>&1 &
#*/5 * * * * sleep 50;  /bin/bash /data/script/dingtalk/stillFail.sh >/dev/null 2>&1 &

#同步缓存浏览次数到数据库
* * * * * curl http://192.168.12.181:9009/yunkongjian/scheduled/update_moments_browse_num >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9009/stat/data_remind_subscription/update_read_status_schedule >/dev/null 2>&1 &

#考核系统
* * * * * curl http://192.168.12.181:9009/kms/schedule/updateCheckInfoStatus >/dev/null 2>&1 &

#同步默认角色
0 4 * * * curl https://oa.qbjjyyun.net/api/edu/schedule/synchronizationUnitDetaultRoleInfo >/dev/null 2>&1 &
#* * * * * /bin/bash /data/script/domainWatch.sh >/dev/null 2>&1 &
#* * * * * sleep 30; /bin/bash /data/script/resume.sh >/dev/null 2>&1 &

#OA办公自动预警 每天18:00执行
0 18 * * * curl http://192.168.12.181:9009/stat/task/OfficeWarnTask >/dev/null 2>&1 &
#作业用时自动预警 每周六执行
0 14 * * 6 curl http://192.168.12.181:9009/stat/task/HomeWorkWarnTask >/dev/null 2>&1 &

#公司服务器日统计 放在公司环境下的
#5 0 * * * /usr/local/python3/bin/python3.6 /home/script/stat/machine_monitor_utils.py >/dev/null 2>&1 &


#监控脚本CMD任务  90下面
#* * * * * /bin/bash /home/cronCmd/cronCmdTask.sh  >/dev/null 2>&1 &

#监控云空间提醒表t_cloud_space_remind是否有超过目标条数未转换到推送
*/10 * * * * curl http://192.168.12.181:9009/yunkongjian/scheduled/monitorCloudSpaceRemind >/dev/null 2>&1 &

#监控推送表t_remind_info是否有超过1000条推送数据未推送出去
*/30 * * * * curl http://192.168.12.181:9009/parent/task/monitorRemindTask >/dev/null 2>&1 &


#录播数据同步  90
* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_classroom.py >/dev/null 2>&1 &
* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_resource_file.py >/dev/null 2>&1 &
#同步推送配置
0 17 * * * /usr/bin/python3.6 /home/python_git/statistical_script/sync_remind_config.py >/dev/null 2>&1 &

#每小时检查一次发布情况 95
#10 * * * * /bin/bash /home/public/checkPublic.sh >/dev/null 2>&1 &
#定时任务 更新报名状态 95
* * * * * curl http://192.168.12.181:9009/parent/task/updateServiceCourseEnrollStatusTask>/dev/null 2>&1 &
#检测更新授课状态 95
* * * * * curl http://192.168.12.181:9009/parent/task/updateTeacherPrepareLessonRecordStatus>/dev/null 2>&1 &
#同步录播记录 95
* * * * * curl http://192.168.12.181:9009/parent/task/syncLiveRecord>/dev/null 2>&1 &
#同步教室记录 95
* * * * * curl http://192.168.12.181:9009/parent/task/syncClassRoom>/dev/null 2>&1 &

#定时检查设备状态 95
#*/1 * * * * curl http://192.168.12.181:9026/task/checkHardwareSurvivalState >/dev/null 2>&1 &
#定时重新登陆设备 95
#*/10 * * * * curl http://192.168.12.181:9026/task/relogin >/dev/null 2>&1 &







#以下看到有一个写一个注释

#学生请假--销假自动任务
* * * * * /bin/bash /home/script/studentLeaveVacationTask.sh >/dev/null 2>&1 &
#新高考-更新选课管理-选课状态自动任务
* * * * * curl http://192.168.12.181:9027/task/updateSelectCourseStatus >/dev/null 2>&1 &
#学生评价--自动生成评价记录
* * * * * curl http://192.168.12.181:9006/task/autoGenerateStudentEvalRecord >/dev/null 2>&1 &
#学籍异动--更新异动状态自动任务
* * * * * curl http://192.168.12.181:9004/task/studentStatusChangeByTypeTask >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/xiaomi/index/gettoken >/dev/null 2>&1 &
#教师评优--定时更新状态
* * * * * curl http://192.168.12.181:9004/task/updateTeacherAppraiseStatus >/dev/null 2>&1 &
#人脸下发定时任务,每分钟执行一次
* * * * * curl http://192.168.12.181:9006/task/faceIssue >/dev/null 2>&1 &

#有学生晚归推送宿管人员
* * * * * curl http://192.168.12.181:9024/task/remindDormitoryUsers >/dev/null 2>&1 &

#安防管理平台-同步预约信息
* * * * * curl http://192.168.12.181:9004/task/securityPlatformSyncReserveRecord >/dev/null 2>&1 &

#定时更新网络教研进行中状态
* * * * * curl http://192.168.12.181:9009/edu/task/updateNetworkTeachingResearchProcessStatus >/dev/null 2>&1 &

#更新学生默认请假流程id
* * * * * curl http://192.168.12.181:9006/task/updateStudentApproveFlowConfigId >/dev/null 2>&1 &

#同步宿舍考勤学生晚归数据
* * * * * curl http://192.168.12.181:9024/task/syncDormitoryData >/dev/null 2>&1 &
#检测更新在线课堂状态
*/10 * * * * curl http://192.168.12.181:9009/edu/task/updateOnlineCourseStatus >/dev/null 2>&1 &

#门禁管理--同步更新人脸信息
*/5 * * * * curl http://192.168.12.182:9009/parent/task/syncFaceTask>/dev/null 2>&1 &
#检测异常健康码并推送
* * * * * curl http://192.168.12.181:9006/task/remindHealthCodeTask >/dev/null 2>&1 &

#访客系统-同步病人出院状态Task
* * * * * curl http://192.168.12.181:9006/task/syncSickStatus >/dev/null 2>&1 &
#同步教师/学生健康码信息
* * * * * curl http://192.168.12.181:9006/task/syncHealthCodeInfoTask >/dev/null 2>&1 &

#门禁管理-下发失败的人脸重新下发
* * * * * curl http://192.168.12.182:9009/parent/task/syncAgainLssueFaceTask>/dev/null 2>&1 &
#同步教师/学生核酸检测身份证编码
* * * * * curl http://192.168.12.181:9006/task/syncHealthCodeForZjhmTask >/dev/null 2>&1 &

#教师评价更新状态
* * * * * curl http://192.168.12.181:9006/task/updateTeacherEvalStatusTask >/dev/null 2>&1 &
* * * * * curl http://192.168.12.181:9099/hk/index/updateaeskey >/dev/null 2>&1 &

#访客预约审核超过时间未审核自动失效
* * * * * curl http://192.168.12.181:9024/task/visitorAutoInvalidTask >/dev/null 2>&1 &

#安防管理平台-更新sessionID
*/10 * * * * curl http://192.168.12.181:9004/task/updateHkSessionId >/dev/null 2>&1 &


* * * * * curl http://192.168.12.182:9099/prepare/index/handle_file_auto?type=1 >/dev/null 2>&1 &

* * * * * curl http://192.168.12.181:9099/oms/auto/ms >/dev/null 2>&1 &
#到期离任更新状态自动推送
* * * * * curl http://192.168.12.181:9006/task/updateExpireLeaveTask >/dev/null 2>&1 &

#海康门禁 布防(SDK)
*/30 * * * * curl http://192.168.12.181:9024/task/deployDefence >/dev/null 2>&1 &

* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/teacher_active_record.py >/dev/null 2>&1 &
#代理班主任到期离任自动任务
* * * * * curl http://192.168.12.181:9006/task/proxyClassTeacherExpireLeave >/dev/null 2>&1 &
* * * * * curl https://oa.qbjjyyun.net/api/edu/schedule/officialDocumentRemindMonitor >/dev/null 2>&1 &
#问卷定期填写/学生打卡自动任务
*/10 * * * * /bin/bash /home/script/questionRepeatTask.sh >/dev/null 2>&1 &

#实训室--同步更新出闸次数（即到次数则设置过期）
* * * * * curl http://192.168.12.181:9024/task/trainingRoomFaceTask >/dev/null 2>&1 &

#海康门禁 布防(SDK) 处理上传失败的图片
* * * * * curl http://192.168.12.181:9024/task/processUploadedFailedFacePictures >/dev/null 2>&1 &



* * * * * curl http://192.168.12.181:9099/prepare/index/handle_resource_auto?order=desc >/dev/null 2>&1 &
* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/cloud_space_remind.py >/dev/null 2>&1 &
*/20 * * * * curl http://192.168.12.182:9099/hk/auto/synccheck >/dev/null 2>&1 &

* * * * * curl http://192.168.12.182:9099/prepare/index/handle_file_auto?type=2 >/dev/null 2>&1 &

* * * * * /bin/bash /home/monitor/frp.sh  >/dev/null 2>&1 &

#作业定时推送
* * * * * curl https://oa.qbjjyyun.net/api/parent/task/homeWorkRemindTask >/dev/null 2>&1 &
* * * * * /usr/bin/python3.6 /home/python_git/statistical_script/teacher_active_record_to_remind.py >/dev/null 2>&1 &




* * * * * /bin/bash /home/cronCmd/cronCmdTask.sh  >/dev/null 2>&1 &
* * * * * curl http://192.168.12.182:9099/prepare/index/handle_resource_auto >/dev/null 2>&1 &
#学生进校离校自动任务
* * * * * curl http://192.168.12.181:9009/parent/task/studentInOutSchoolTask >/dev/null 2>&1 &



* * * * * /bin/bash /home/monitor/dms_second.sh >/dev/null 2>&1 &
* * * * * /bin/bash /home/monitor/dms_leave_second.sh >/dev/null 2>&1 &

#雏凤争星--自动结算获奖学生(投票时间结束第二天就结算)
30 1 * * * curl http://192.168.12.181:9024/task/autoSetAwardStudentTask >/dev/null 2>&1 &

#定时更新测试单位for_test的值
0 22 * * * curl https://oa.qbjjyyun.net/api/edu/task/updateForTest >/dev/null 2>&1 &

#定时更新网络教研结束状态
0 3 * * * curl http://192.168.12.181:9009/edu/task/updateNetworkTeachingResearchEndStatus >/dev/null 2>&1 &

#监控AI智能告警设备并处理相关逻辑
#* * * * * curl http://192.168.12.181:9009/edu/task/monitorAIAlarmTask >/dev/null 2>&1 &

#教师评价自动推送(每天8点执行)
0 8 * * * curl http://192.168.12.181:9006/task/teacherEvalRemindTask >/dev/null 2>&1 &
#每天凌晨1:30更新健康码/核酸的状态为更新中
30 0 * * * curl http://192.168.12.181:9006/task/updateCodeOrNucleinStatus >/dev/null 2>&1 &
#每周6凌晨1:30更新疫苗的状态为更新中
30 0 * * 6 curl http://192.168.12.181:9006/task/updateVaccinationStatus >/dev/null 2>&1 &
#定时上传学生人脸信息到腾讯人脸库
0 2 * * * curl http://192.168.12.181:9009/yunkongjian/task/uploadStudentFaceToTencentFaceDatabase >/dev/null 2>&1 &

#每日8点备份一下crontab
0 20 * * *  /bin/bash /home/crontab_backup/backup.sh >/dev/null 2>&1 &
#备份完crontab之后提交到git
2 20 * * * /bin/bash /home/crontab_backup/gitrun.sh >/dev/null 2>&1 &

#账号有效期--更新账号有效状态自动任务
* * * * * curl http://192.168.12.181:9006/task/userExpireTask >/dev/null 2>&1 &

#大湾门禁设备定时心跳检测
#* * * * * curl http://192.168.12.181:9024/task/daWanFaceDeviceBeatHeart
#大湾门禁设备定时设置重新提取识别结果
#* * * * * curl http://192.168.12.181:9024/task/daWanFaceDeviceRecordRevert
#海普天门禁设备定时心跳检测
* * * * * curl http://192.168.12.181:9024/task/haiPuTianFaceDeviceBeatHeart
