2011-01-19 124 views

回答

3

看看Runtime.getRuntime().exec("contrab file.txt")

1
Runtime.getRuntime().exec("crontab file.txt") 
1

linux命令本质上是程序。你可以简单地运行它们,使用Runtime.getRuntime().exec("crontab file.txt");