at 定时任务
service atd start
三天后的下午 5 点锺执行 /bin/ls :
at 5pm + 3 days /bin/ls
三个星期后的下午 5 点锺执行 /bin/ls :
at 5pm + 2 weeks /bin/ls
明天的 17:20 执行 /bin/date :
at 17:20 tomorrow /bin/date
2009 年的最后一天的最后一分钟印出 the end of world !
at 23:59 12/31/2009 echo the end of world !
指定时间执行下面内容
at 00:02 02/04/2013 << EOF
cd /tmp/test
mv stfile.jpg stfile.bak`date +%Y%m%d`
mv 1.jpg stfile.jpg
EOF
浙公网安备 33010602011771号