标签:bin dir ash start restart rest sed nbsp script
#/bin/sh basedir=/data/bachup www_src=$basedir/www_src/$(date +%F-%H-%M) [ ! -d "$www_src" ] && mkdir -p $www_src cd /data/ tar -jpcf $www_src/www.tar.bz2 www ########################################## crontab -e * * * * * sh /data/script/www_backup.sh systemctl restart crond
标签:bin dir ash start restart rest sed nbsp script
原文地址:https://www.cnblogs.com/firewalld/p/12257561.html