i******e 发帖数: 171 | 1 我想在规定时间比如13:00或1 hour以后运行一个命令:
command1 $ARGV[0] $ARGV[1] ...
man了at, cron, crontab, 不知所云......:( 那位大侠能给个简单的例子让我能照
猫画虎. 多谢了.
另外, 这个时间的表达格式能在网上哪儿可以看到介绍? 多谢! | A**s 发帖数: 8 | 2 If you just want to run the command once, you can use "at", e.g.
$ at 1300
at> command1 $ARGV[0] $ARGV[1] ...
at> ^D
If you want to run it many times (e.g. every day), you can use crontab. The
syntax is a little complicated, but you can look at
http://en.wikipedia.org/wiki/Crontab |
|