ubuntu crontab 用法
在ubuntu里边 crontab -e 加入要执行的任务,无法保存,使用vi ,那就是要设置系统变量
一、 cd ~ 切换到当前用户的根目录下,也就是 /home/currentuser
二、vi .profile
然后加上
EDITOR=vi
export EDITOR
三步: :wq 保存,退出
四步:重新编译 .profile source .profile
ubuntu crontab 用法
猜你喜欢
转载自thinktothings.iteye.com/blog/1621985
今日推荐
周排行