linux下的resin定时重启

本来很简单的结果折腾半天

原来“crontab -e”完了需要重启crond服务
被“crontab: installing new crontab”的提示迷惑了

另一个问题是resin自动重启时是不读入环境变量的
需要把httpd.sh里面的export注释去掉
例如:

  1. JAVA_HOME=/opt/j2sdk1.4.2_10
  2. export JAVA_HOME
  3. #
  4. RESIN_HOME=/opt/resin/resin-2.1.17
  5. export RESIN_HOME
17fav 收藏本文
标签:,

相关日志 随机文章

Comments

4 Responses to “linux下的resin定时重启”

  1. feuvan on 2006-11-09 5:57 pm

    不需要的吧

    [Reply]

  2. Sunshow on 2006-11-10 1:09 am

    真的需要啊。。。
    不然死活不生效
    折腾死我了

    [Reply]

  3. feuvan on 2006-11-11 3:52 pm


    诡异

    [Reply]

  4. bianbian on 2007-06-25 12:50 pm

    笨笨,懒得说你。。。。^_^

    [Reply]

Leave a Reply




请输入验证码

Use "<coolcode></coolcode>" to publish your code.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.

京ICP备05059555号

收藏 & 分享

Powered by 17fav.com