#!/bin/bash
at -m now+1min <<EOF
useradd easylee
passwd easylee
easylee
easylee
EOF
at -m now+5hours <<EOF
cat /etc/passwd > /backup
EOF
touch /etc/at.allow
echo easylee > /etc/at.allow
cd /etc/cron.d
echo "00 04 * * * root df -h"
chmod +x /mnt/test.sh
unit1.定时任务和延迟任务项目
最新推荐文章于 2024-09-08 12:41:07 发布