zoukankan      html  css  js  c++  java
  • 镜像站定时任务

    #mirror web
    */5   *  *  *  *  cd /mirror && git pull
    #mysql mirror
    0  */3  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql-connectors-community-el7/  /mirror/mysql/yum/mysql-connectors-community-el7/  > /dev/null 2>&1;
    0  */3  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql-tools-community-el7/  /mirror/mysql/yum/mysql-tools-community-el7/  > /dev/null 2>&1;
    0  */3  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql57-community-el7/  /mirror/mysql/yum/mysql57-community-el7/  > /dev/null 2>&1;
    0  */3  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql80-community-el7/  /mirror/mysql/yum/mysql80-community-el7/  > /dev/null 2>&1;
    #centos mirror
    0  */4  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/centos/  /mirror/centos/  > /dev/null 2>&1;
    #epel mirror
    0  */4  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/epel/  /mirror/epel/  > /dev/null 2>&1;
    #ubuntu-mirror
    #0  */4  *  *  *  cd /mirror/apt-mirror/ubuntu/var/ ; rm -rf apt-mirror.lock ; apt-mirror > /dev/null 2>&1; sh /mirror/apt-mirror/ubuntu/var/clean.sh
    #zabbix-mirror
    0  */6  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/3.4/ /mirror/zabbix/3.4/ > /dev/null 2>&1;
    0  */6  *  *  *  rsync -av --delete rsync://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.0/ /mirror/zabbix/4.0/ > /dev/null 2>&1;
    
  • 相关阅读:
    bootstrap 模态框一闪而过的问题
    ${requestScope.paramName} 与 ${param.name}
    Android控件
    质量属性
    android基础知识复习一
    Numpy基础篇二
    miniconda 搭建tensorflow框架
    Numpy基础篇一
    pandas 数据索引与选取
    《架构漫谈》阅读笔记
  • 原文地址:https://www.cnblogs.com/lizhaojun-ops/p/10789779.html
Copyright © 2011-2022 走看看