crontab任务文件的建立过程
//查看任务文件crontab -l//备份任务文件crontab -l > /crontabrootfile//查看保存用户crontab到一个文件more /crontabrootfilecd /var/logls -al//在/var/log/建system目录mkdir /var/log/systemls -alcd system//在/var/log/system/下建system_monitor文件vi system_monitor#!/bin/sh#sh /.profileday=`date +%m%d%Y`file="/var/log/system/sysinfo$day"if [ -f $file ]; then echo "ok">/dev/nullelseecho " date cpu mem swap load avera